public static function ProcessInterface::process in Express 8
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.
See also
\Drupal\bootstrap\Plugin\Alter\ElementInfo::alter
1 method overrides ProcessInterface::process()
- ProcessBase::process in themes/
contrib/ bootstrap/ src/ Plugin/ Process/ ProcessBase.php - Process a specific form element type.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Process/ ProcessInterface.php, line 37 - Contains \Drupal\bootstrap\Plugin\Process\ProcessInterface.
Class
- ProcessInterface
- Defines the interface for an object oriented process plugin.
Namespace
Drupal\bootstrap\Plugin\ProcessCode
public static function process(array $element, FormStateInterface $form_state, array &$complete_form);