You are here

protected property Xml::$currentPath in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 src/Plugin/migrate_plus/data_parser/Xml.php \Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml::currentPath
  2. 8.2 src/Plugin/migrate_plus/data_parser/Xml.php \Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml::currentPath
  3. 8.3 src/Plugin/migrate_plus/data_parser/Xml.php \Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml::currentPath

Array representing the path to the current element as we traverse the XML.

For example, if in an XML string like '<file><article>...</article></file>' we are positioned within the article element, currentPath will be [0 => 'file', 1 => 'article'].

Type: array

File

src/Plugin/migrate_plus/data_parser/Xml.php, line 56

Class

Xml
Obtain XML data for migration using the XMLReader pull parser.

Namespace

Drupal\migrate_plus\Plugin\migrate_plus\data_parser

Code

protected $currentPath = [];