ctools-8.x-3.x-dev/src/Event/WizardEvent.php

src/Event/WizardEvent.php
<?php

namespace Drupal\ctools\Event;

use Drupal\ctools\Wizard\FormWizardInterface;
use Drupal\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;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc