Last active
November 30, 2018 09:18
-
-
Save stillfinder/0bbc0d4f80b7ccef4d1d812a0d492f52 to your computer and use it in GitHub Desktop.
generate-controller.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../vendor/bin/drupal generate:controller --module=custom_api --class=SearchController --routes='"title":"ControllerMethod", "name":"custom_api.search", "method":"search", "path":"custom_api/search/{search}"' --uri=my-site.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment