You are here

protected function Importer::resetTree in Default Content for D8 8

Same name and namespace in other branches
  1. 2.0.x src/Importer.php \Drupal\default_content\Importer::resetTree()

Resets tree properties.

1 call to Importer::resetTree()
Importer::importContent in src/Importer.php
Imports default content from a given module.

File

src/Importer.php, line 219

Class

Importer
A service for handling import of default content.

Namespace

Drupal\default_content

Code

protected function resetTree() {
  $this->graph = [];
  $this->vertexes = [];
}