class WizardEvent in Chaos Tool Suite (ctools) 8.3
An event for altering form wizard values.
Hierarchy
- class \Drupal\ctools\Event\WizardEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of WizardEvent
2 files declare their use of WizardEvent
- EntityFormWizardBase.php in src/
Wizard/ EntityFormWizardBase.php - FormWizardBase.php in src/
Wizard/ FormWizardBase.php
File
- src/
Event/ WizardEvent.php, line 11
Namespace
Drupal\ctools\EventView source
class WizardEvent extends Event {
/**
* @var \Drupal\ctools\Wizard\FormWizardInterface
*/
protected $wizard;
/**
* @var mixed
*/
protected $values;
public function __construct(FormWizardInterface $wizard, $values) {
$this->wizard = $wizard;
$this->values = $values;
}
public function getWizard() {
return $this->wizard;
}
public function getValues() {
return $this->values;
}
public function setValues($values) {
$this->values = $values;
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WizardEvent:: |
protected | property | ||
WizardEvent:: |
protected | property | ||
WizardEvent:: |
public | function | ||
WizardEvent:: |
public | function | ||
WizardEvent:: |
public | function | ||
WizardEvent:: |
public | function |