function public static function ProcessInterface::process

8.x-3.x ProcessInterface.php public static ProcessInterface::process(array $element, FormStateInterface $form_state, array &$complete_form)

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.

Parameters

array $element: The element render array.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

array $complete_form: The complete form structure.

Return value

array The altered element array.

Class

ProcessInterface
Defines the interface for an object oriented process plugin.

Namespace

Drupal\bootstrap\Plugin\Process

Source src/Plugin/Process/ProcessInterface.php (line 33)

public static function process(array $element, FormStateInterface $form_state, array &$complete_form);