public function CompiledRoute::getOptions in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getOptions()
Returns the options.
Return value
array The options.
Deprecated
in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided.
See also
https://www.drupal.org/node/3159706
File
- core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php, line 124
Class
- CompiledRoute
- A compiled route contains derived information from a route object.
Namespace
Drupal\Core\RoutingCode
public function getOptions() {
@trigger_error(__METHOD__ . '() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3159706', E_USER_DEPRECATED);
return $this->route
->getOptions();
}