You are here

public function FormBase::getElementIdsInPreOrder in Form Builder 7.2

Get list of element ids in depth-first pre-order.

1 call to FormBase::getElementIdsInPreOrder()
FormBase::getElementsInPreOrder in src/FormBase.php
Get element objects in depth-first pre-order.

File

src/FormBase.php, line 343

Class

FormBase

Namespace

Drupal\form_builder

Code

public function getElementIdsInPreOrder() {
  $ids = array();
  $this
    ->_recursiveElementIds($ids, $this->form);
  return $ids;
}