You are here

interface ProcessInterface in Express 8

Defines the interface for an object oriented process plugin.

Hierarchy

Expanded class hierarchy of ProcessInterface

All classes that implement ProcessInterface

File

themes/contrib/bootstrap/src/Plugin/Process/ProcessInterface.php, line 16
Contains \Drupal\bootstrap\Plugin\Process\ProcessInterface.

Namespace

Drupal\bootstrap\Plugin\Process
View source
interface ProcessInterface {

  /**
   * Process a specific form element type.
   *
   * Implementations of this method should check to see if the element has a
   * property named #bootstrap_ignore_process and check if it is set to TRUE.
   * If it is, the method should immediately return with the unaltered element.
   *
   * @param array $element
   *   The element render array.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the form.
   * @param array $complete_form
   *   The complete form structure.
   *
   * @return array
   *   The altered element array.
   *
   * @see \Drupal\bootstrap\Plugin\Alter\ElementInfo::alter
   */
  public static function process(array $element, FormStateInterface $form_state, array &$complete_form);

}

Members

Namesort descending Modifiers Type Description Overrides
ProcessInterface::process public static function Process a specific form element type. 1