Answers for "drupal 8 routing parameters"

3

drupal 8 routing parameters

example.user:
  path: '/example/{user}'
  defaults: 
    _controller: '\Drupal\example\Controller\ExampleController::content' 
  requirements: 
    _permission: 'access content' 
  options:
    parameters:
      user:
        type: entity:user
Posted by: Guest on May-19-2020

Code answers related to "drupal 8 routing parameters"

Browse Popular Code Answers by Language