public function WebformCommands::drush_webform_tidy in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Commands/WebformCommands.php \Drupal\webform\Commands\WebformCommands::drush_webform_tidy()
Tidy export webform configuration files
@command webform:tidy
@option dependencies Add module dependencies to installed webform and options configuration entities. @option prefix Prefix for file names to be tidied. (Defaults to webform) @usage drush webform:tidy webform Tidies YAML configuration files in 'webform/config' for the Webform module @aliases wft,webform-tidy
Parameters
$target The module (config/install), config directory (sync), or path (/some/path) that needs its YAML configuration files tidied. (Defaults to webform):
File
- src/
Commands/ WebformCommands.php, line 153
Class
- WebformCommands
- Webform commands for Drush 9.x.
Namespace
Drupal\webform\CommandsCode
public function drush_webform_tidy($target = NULL, array $options = [
'dependencies' => FALSE,
'prefix' => NULL,
]) {
$this->cliService
->drush_webform_tidy($target);
}