Skip to main content

Main navigation

Menu

Close
  • Home
  • Modules
  • System
  • Theming
  • Search blog
  • Contact
Menu

Typehinted parameters in controller methods (special objects)

Wed, 09/11/2019

In each controller you make, there are special objects you can use to get data you may need. They are 

$request
$route_match

for more on each of them check here
https://www.drupal.org/docs/8/api/routing-system/parameters-in-routes/using-parameters-in-routes#s-typehinted-parameters

Drupal 8
Modules

Finding The Way Home @ 2011 - 2020

Powered by Drupal