Created
November 29, 2018 23:41
-
-
Save stillfinder/ec203d3cec0d8cfa8249065891e98cd9 to your computer and use it in GitHub Desktop.
custom_api.routing.yml
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
custom_api.search: | |
path: 'custom_api/search/{search}' | |
defaults: | |
_controller: '\Drupal\custom_api\Controller\SearchController::search' | |
_title: 'ControllerMethod' | |
requirements: | |
_permission: 'access content' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment