function RequiredContext::getContextClass
Same name in other branches
- 8.x-3.x src/Form/RequiredContext.php \Drupal\ctools\Form\RequiredContext::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 The Context Class.
1 call to RequiredContext::getContextClass()
- RequiredContext::add in src/
Form/ RequiredContext.php - Custom ajax form submission handler.
File
-
src/
Form/ RequiredContext.php, line 212
Class
- RequiredContext
- Required Context Form.
Namespace
Drupal\ctools\FormCode
protected abstract function getContextClass();