protected function PageVariantContextsForm::getContextClass 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::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 PageVariantContextsForm::getContextClass()
- 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 54 - Contains \Drupal\page_manager_ui\Form\PageVariantContextForm.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getContextClass($cached_values) {
return StaticContextConfigure::class;
}