Created
September 22, 2016 15:49
-
-
Save init90/2343b9ce8aad0128f6889ed6f02dac60 to your computer and use it in GitHub Desktop.
Drupal 8 get parameters from route
This file contains hidden or 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
$route = \Drupal::service('current_route_match'); | |
$job_id = $route->getRawParameters()->getInt('job'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment