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