protected function PageVariantContextsForm::getContextAddRoute in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/PageVariantContextsForm.php \Drupal\page_manager_ui\Form\PageVariantContextsForm::getContextAddRoute()
The route to which context 'add' actions should submit.
Return value
string
Overrides ManageContext::getContextAddRoute
1 call to PageVariantContextsForm::getContextAddRoute()
- PageVariantContextsForm::addContext in page_manager_ui/
src/ Form/ PageVariantContextsForm.php - Override to add the variant id.
File
- page_manager_ui/
src/ Form/ PageVariantContextsForm.php, line 68 - Contains \Drupal\page_manager_ui\Form\PageVariantContextForm.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getContextAddRoute($cached_values) {
return 'entity.page_variant.context.add';
}