Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3337adb

Browse files
committed
Update references to woot in documentation.
1 parent eb478ef commit 3337adb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ In order to alter an existing command info, follow the steps below:
5454
1. In that class, implement the alteration logic in the `alterCommandInfo()` method.
5555
1. Along with the alter code, it's strongly recommended to log a debug message explaining what exactly was altered. This makes things easier on others who may need to debug the interaction of the alter code with other modules. Also it's a good practice to inject the the logger in the class constructor.
5656

57-
For an example, see the alterer class provided by the testing 'woot' module: `tests/resources/modules/d8/woot/src/WootCommandInfoAlterer.php`.
57+
For an example, see the alterer class provided by the testing 'woot' module: `tests/functional/resources/modules/d8/woot/src/WootCommandInfoAlterer.php`.
5858

5959
Site-Wide Drush Commands
6060
==============================

docs/generators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Writing Custom Generators
88
==========================
99
Drupal modules may supply their own Generators, just like they can supply Commands.
1010

11-
See [Woot module](https://github.com/drush-ops/drush/blob/master/tests/resources/modules/d8/woot), which Drush uses for testing. Specifically,
11+
See [Woot module](https://github.com/drush-ops/drush/blob/master/tests/functional/resources/modules/d8/woot), which Drush uses for testing. Specifically,
1212

13-
1. Write a class similar to [ExampleGenerator](https://github.com/drush-ops/drush/tree/master/tests/resources/modules/d8/woot/src/Generators/). Implement your custom logic in the interact() method. Typically this class is placed in the src/Generators directory.
13+
1. Write a class similar to [ExampleGenerator](https://github.com/drush-ops/drush/tree/master/tests/functional/resources/modules/d8/woot/src/Generators/). Implement your custom logic in the interact() method. Typically this class is placed in the src/Generators directory.
1414
1. Add a .twig file to the same directory. This template specifies what gets output from the generator.
15-
1. Add your class to your module's drush.services.yml file ([example](https://github.com/drush-ops/drush/blob/master/tests/resources/modules/d8/woot/drush.services.yml)). Use the tag `drush.generator` instead of `drush.command`.
15+
1. Add your class to your module's drush.services.yml file ([example](https://github.com/drush-ops/drush/blob/master/tests/functional/resources/modules/d8/woot/drush.services.yml)). Use the tag `drush.generator` instead of `drush.command`.
1616
1. Perform a `drush cache-rebuild` to compile your drush.services.yml changes into the Drupal container.
1717

1818
Global Generators

0 commit comments

Comments
 (0)