You are here

public function FormBase::getElementArrays in Form Builder 7.2

File

src/FormBase.php, line 245

Class

FormBase

Namespace

Drupal\form_builder

Code

public function getElementArrays($element_ids) {
  $elements = array();
  foreach ($element_ids as $element_id) {
    if ($element = $this
      ->getElementArray($element_id)) {
      $elements[$element_id] = $element;
    }
  }
  return $elements;
}