public function PageConfigMapper::getBaseRouteParameters in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/ConfigTranslation/PageConfigMapper.php \Drupal\page_manager_ui\ConfigTranslation\PageConfigMapper::getBaseRouteParameters()
Returns the route parameters for the base route the mapper is attached to.
Return value
array
Overrides ConfigEntityMapper::getBaseRouteParameters
File
- page_manager_ui/
src/ ConfigTranslation/ PageConfigMapper.php, line 33 - Contains \Drupal\page_manager_ui\ConfigTranslation\PageConfigMapper.
Class
- PageConfigMapper
- Configuration mapper for page_manager pages.
Namespace
Drupal\page_manager_ui\ConfigTranslationCode
public function getBaseRouteParameters() {
$parameters = parent::getBaseRouteParameters();
$parameters['step'] = 'general';
$parameters['machine_name'] = $parameters['page'];
return $parameters;
}