Drupal8 Pobierz paramenty z trasy
if ($node = \Drupal::routeMatch()->getParameter('node')) {
}
Impossible Iguana
if ($node = \Drupal::routeMatch()->getParameter('node')) {
}