function RedirectDestination::getAsArray
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::getAsArray()
- 10 core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::getAsArray()
- 11.x core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::getAsArray()
Overrides RedirectDestinationInterface::getAsArray
File
-
core/
lib/ Drupal/ Core/ Routing/ RedirectDestination.php, line 50
Class
- RedirectDestination
- Provides helpers for redirect destinations.
Namespace
Drupal\Core\RoutingCode
public function getAsArray() {
return [
'destination' => $this->get(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.