function ManageContext::getContextClass

Same name in other branches
  1. 4.0.x src/Form/ManageContext.php \Drupal\ctools\Form\ManageContext::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.

Parameters

mixed $cached_values: Cached Relationship Class values.

Return value

string The context class.

1 call to ManageContext::getContextClass()
ManageContext::addContext in src/Form/ManageContext.php
Add a context.

File

src/Form/ManageContext.php, line 339

Class

ManageContext
Manage Context Form.

Namespace

Drupal\ctools\Form

Code

protected abstract function getContextClass(mixed $cached_values);