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_fileCode
public function hasChildren() {
return $this
->current()
->hasChildNodes();
}