protected function Page::urlRouteParameters in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/Page.php \Drupal\page_manager\Entity\Page::urlRouteParameters()
@todo: Remove this as part of https://www.drupal.org/node/2696683.
Overrides EntityBase::urlRouteParameters
File
- src/
Entity/ Page.php, line 478
Class
- Page
- Defines a Page entity class.
Namespace
Drupal\page_manager\EntityCode
protected function urlRouteParameters($rel) {
if ($rel == 'edit-form') {
$uri_route_parameters = [];
$uri_route_parameters['machine_name'] = $this
->id();
$uri_route_parameters['step'] = 'general';
return $uri_route_parameters;
}
return parent::urlRouteParameters($rel);
}