You are here

protected function PageVariantContextsForm::getContextAddRoute in Page Manager 8

Same name and namespace in other branches
  1. 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

PageVariantContextsForm

Namespace

Drupal\page_manager_ui\Form

Code

protected function getContextAddRoute($cached_values) {
  return 'entity.page_variant.context.add';
}