You are here

protected function PanelizerWizardContextForm::getContextClass in Panelizer 8.4

Same name and namespace in other branches
  1. 8.5 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::getContextClass()
  2. 8.3 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::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 PanelizerWizardContextForm::getContextClass()
PanelizerWizardContextForm::addContext in src/Form/PanelizerWizardContextForm.php

File

src/Form/PanelizerWizardContextForm.php, line 50

Class

PanelizerWizardContextForm
Simple wizard step form.

Namespace

Drupal\panelizer\Form

Code

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