Modules
DrevOps\BehatSteps\Steps\Drupal\ModuleTrait - Source, Steps
Enable and disable Drupal modules with automatic state restoration.
public function moduleDisable(string $module): void
Disable a module
public function moduleEnable(string $module): void
Enable a module
public function moduleIsEnabled(string $module): bool
Check if a module is enabled
public function moduleIsPresent(string $module): bool
Check if a module's code is present
public function moduleSetEnabled(string $module, bool $is_enabled): void
Enable or disable a module, restored after the scenario