You are here

protected function AddVariantContextsForm::getContextClass in Page Manager 8.4

Same name and namespace in other branches
  1. 8 page_manager_ui/src/Form/AddVariantContextsForm.php \Drupal\page_manager_ui\Form\AddVariantContextsForm::getContextClass()

Return a subclass of '\Drupal\ctools\Form\ContextConfigure'.

The ContextConfigure class is designed to be subclassed with custom route information to control the modal/redirect needs of your use case.

Return value

string

Overrides ManageContext::getContextClass

1 call to AddVariantContextsForm::getContextClass()
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 54

Class

AddVariantContextsForm

Namespace

Drupal\page_manager_ui\Form

Code

protected function getContextClass($cached_values) {
  return AddVariantStaticContextConfigure::class;
}