You are here

public function RecursiveDOMIterator::hasChildren in Translation Management Tool 8

Checks if current element has children.

Return value

bool Has children.

File

translators/tmgmt_file/src/RecursiveDOMIterator.php, line 60

Class

RecursiveDOMIterator
Class used to iterate through DOMDocument.

Namespace

Drupal\tmgmt_file

Code

public function hasChildren() {
  return $this
    ->current()
    ->hasChildNodes();
}