function FormWizardBase::getOperation
Same name in other branches
- 8.x-3.x src/Wizard/FormWizardBase.php \Drupal\ctools\Wizard\FormWizardBase::getOperation()
Overrides FormWizardInterface::getOperation
3 calls to FormWizardBase::getOperation()
- EntityFormWizardBase::customizeForm in src/
Wizard/ EntityFormWizardBase.php - Helper function for generating label and id form elements.
- FormWizardBase::buildForm in src/
Wizard/ FormWizardBase.php - Form constructor.
- FormWizardBase::getFormId in src/
Wizard/ FormWizardBase.php - Returns a unique string identifying the form.
File
-
src/
Wizard/ FormWizardBase.php, line 172
Class
- FormWizardBase
- The base class for all form wizard.
Namespace
Drupal\ctools\WizardCode
public function getOperation($cached_values) {
$operations = $this->getOperations($cached_values);
$step = $this->getStep($cached_values);
if (!empty($operations[$step])) {
return $operations[$step];
}
throw new NotFoundHttpException();
}