You are here

public function ArrayDataItemIterator::hasChildren in Views Exposed Form Fieldset 8

Check if the item has children.

Return value

bool True if it has children, false otherwise.

File

src/ArrayDataItemIterator.php, line 33

Class

ArrayDataItemIterator
Class ArrayDataItemIterator.

Namespace

Drupal\views_ef_fieldset

Code

public function hasChildren() {
  $item = $this
    ->current();
  return !empty($item['children']);
}