class ProcessBase

Base process class used to process elements.


Expanded class hierarchy of ProcessBase

Related topics


class ProcessBase extends PluginBase implements ProcessInterface {

   * {@inheritdoc}
  public static function process(array $element, FormStateInterface $form_state, array &$complete_form) {
    if (!empty($element['#bootstrap_ignore_process'])) {
      return $element;
    static::processElement(Element::create($element, $form_state), $form_state, $complete_form);
    return $element;

   * Process a specific form element.
   * @param \Drupal\bootstrap\Utility\Element $element
   *   The element object.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the form.
   * @param array $complete_form
   *   The complete form structure.
   * @see \Drupal\bootstrap\Plugin\Process\ProcessBase::process()
   * @see \Drupal\bootstrap\Plugin\Alter\ElementInfo::alter()
  public static function processElement(Element $element, FormStateInterface $form_state, array &$complete_form) {



Contains filters are case sensitive
Name Modifiers Type Description
PluginBase::$theme protected property The currently set theme object.
PluginBase::__construct public function
ProcessBase::process public static function Process a specific form element type. Overrides ProcessInterface::process
ProcessBase::processElement public static function Process a specific form element.