public function FormWizardBase::getOperation in Chaos Tool Suite (ctools) 8.3
Retrieve the current Operation.
Parameters
mixed $cached_values: The values returned by $this->getTempstore()->get($this->getMachineName());.
Return value
string The class name to instantiate.
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 161 
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();
}