Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / src / Commands / generate / Generators / Drush / ported-methods.twig
1 {% for key, command in commands %}
2   /**
3    * {{ command.description|raw }}
4    *
5 {% if command.arguments %}
6 {% for argName, argDescription in command.arguments %}
7    * @param {{ argName }}
8    *   {{ argDescription|raw }}
9 {% endfor %}
10 {% endif %}
11 {% if command.optionsConcat|raw %}
12     * @param array $options An associative array of options whose values come from cli, aliases, config, etc.
13 {% endif %}
14 {% if command.options %}
15 {% for optionName, optionDescription in command.options %}
16    * @option {{ optionName }}
17    *   {{ optionDescription|raw }}
18 {% endfor %}
19 {% endif %}
20 {% for usageName, usageDescription in command.examples %}
21    * @usage {{ usageName|raw }}
22    *   {{ usageDescription|raw }}
23 {% endfor %}
24 {% if command.depsConcat|raw %}
25    * @validate-module-enabled {{ command.depsConcat|raw }}
26 {% endif %}
27    *
28    * @command {{ command.name }}
29    * @aliases {{ command.aliases|join(',')  }}
30    */
31   public function {{ command.method }}({{ command.argumentsConcat|raw }}{{ command.optionsConcat|raw }}) {
32     // See bottom of https://weitzman.github.io/blog/port-to-drush9 for details on what to change when porting a
33     // legacy command.
34   }
35
36 {% endfor %}