Skip to content

Commit

Permalink
Fix update notes from prior Drush versions to include missing /src (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
goba authored Feb 21, 2024
1 parent bf5c21b commit cb8f1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
!!! tip

1. Drush 12 expects commandfiles to use a [create() method](dependency-injection.md#create-method) to inject Drupal and Drush dependencies. Prior versions used a [drush.services.yml file](https://www.drush.org/11.x/dependency-injection/#services-files) which is now deprecated and will be removed in Drush 13.
1. Drush 12 expects all commandfiles in the `<module-name>/Drush/<Commands|Generators>` directory. The `Drush` subdirectory is a new requirement.
1. Drush 12 expects all commandfiles in the `<module-name>/src/Drush/<Commands|Generators>` directory. The `Drush` subdirectory is a new requirement.

Creating a new Drush command is easy. Follow the steps below.

Expand Down

0 comments on commit cb8f1d5

Please sign in to comment.