Skip to content

Instantly share code, notes, and snippets.

@binnyaxel
Created August 18, 2022 04:53
Show Gist options
  • Save binnyaxel/240a5940a6ea56cd8007a77a05346b60 to your computer and use it in GitHub Desktop.
Save binnyaxel/240a5940a6ea56cd8007a77a05346b60 to your computer and use it in GitHub Desktop.
MyCustomFilterAjaxRoute
mycustomfilter.ajax:
path: '/mycustom/filter/ajax/{cat_id}'
defaults:
_controller: '\Drupal\my_custom_module\Controller\MyCustomSelectAjaxController::filterselectlist'
requirements:
_permission: 'access content'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment