public function RecursiveDOMIterator::current in Translation Management Tool 8
Returns the current DOMNode.
Return value
DOMNode Current DOMNode object.
1 call to RecursiveDOMIterator::current()
- RecursiveDOMIterator::getChildren in translators/
tmgmt_file/ src/ RecursiveDOMIterator.php - Returns an iterator for the current iterator entry.
File
- translators/
tmgmt_file/ src/ RecursiveDOMIterator.php, line 40
Class
- RecursiveDOMIterator
- Class used to iterate through DOMDocument.
Namespace
Drupal\tmgmt_fileCode
public function current() {
return $this->nodeList
->item($this->position);
}