You are here

public function FormBase::getElementArray in Form Builder 7.2

2 calls to FormBase::getElementArray()
Form::getComponent in modules/webform/src/Form.php
Create a webform component array based the form_builder cache.
FormBase::getElementArrays in src/FormBase.php

File

src/FormBase.php, line 235

Class

FormBase

Namespace

Drupal\form_builder

Code

public function getElementArray($element_id) {
  if (isset($this->elementArrays[$element_id])) {
    return $this->elementArrays[$element_id];
  }
  return FALSE;
}