You are here

public function ViewsEFFieldsetData::treetofapi in Views Exposed Form Fieldset 8

Convert the tree data into form api data.

Return value

array The array of elements.

File

src/ViewsEFFieldsetData.php, line 87

Class

ViewsEFFieldsetData
Class ViewsEFFieldsetData.

Namespace

Drupal\views_ef_fieldset

Code

public function treetofapi() {
  $elements = [];
  $this
    ->recursivetreetofapi($this
    ->buildTreeData(), $this->form, $elements);
  return $elements;
}