You are here

public function WebformCommands::drush_webform_tidy in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\Commands

Code

public function drush_webform_tidy($target = NULL, array $options = [
  'dependencies' => FALSE,
  'prefix' => NULL,
]) {
  $this->cliService
    ->drush_webform_tidy($target);
}