eca-1.0.x-dev/modules/form/src/Event/FormProcess.php

modules/form/src/Event/FormProcess.php
<?php

namespace Drupal\eca_form\Event;

use Drupal\eca\Event\RenderEventInterface;

/**
 * Dispatched when a form is being processed.
 *
 * @internal
 *   This class is not meant to be used as a public API. It is subject for name
 *   change or may be removed completely, also on minor version updates.
 *
 * @package Drupal\eca_form\Event
 */
class FormProcess extends FormBase implements RenderEventInterface {

  /**
   * {@inheritdoc}
   */
  public function &getRenderArray(): array {
    $form = &$this->getForm();
    return $form;
  }

}

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

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