You are here

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\Event
View 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

Namesort descending Modifiers Type Description Overrides
WizardEvent::$values protected property
WizardEvent::$wizard protected property
WizardEvent::getValues public function
WizardEvent::getWizard public function
WizardEvent::setValues public function
WizardEvent::__construct public function