You are here

WizardEvent.php in Chaos Tool Suite (ctools) 8.3

File

src/Event/WizardEvent.php
View source
<?php

namespace Drupal\ctools\Event;

use Drupal\ctools\Wizard\FormWizardInterface;
use Symfony\Component\EventDispatcher\Event;

/**
 * An event for altering form wizard values.
 */
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;
  }

}

Classes

Namesort descending Description
WizardEvent An event for altering form wizard values.