stacks-8.x-1.x-dev/src/WidgetAdmin/Step/StepInterface.php

src/WidgetAdmin/Step/StepInterface.php
<?php

namespace Drupal\stacks\WidgetAdmin\Step;

interface StepInterface {

  /**
   * @returns step;
   */
  public function getStep();

  /**
   * Returns a renderable form array that defines a step.
   */
  public function buildStepFormElements();

  /**
   * Returns buttons on step.
   */
  public function getButtons();

  /**
   * Indicates if step is last step.
   */
  public function isLastStep();

  /**
   * @returns array of all field names.
   */
  public function getFieldNames();

  /**
   * @returns array of fields with their validation requirements.
   */
  public function getFieldsValidators();

  /**
   * Sets filled out values of step.
   */
  public function setValues($values);

  /**
   * Gets filled out values of step.
   */
  public function getValues();
}

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

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