public function Target::flush in Drupal 7 to 8/9 Module Upgrader 8
Clears internal references to all open documents, discarding changes.
Overrides TargetInterface::flush
1 call to Target::flush()
- Target::buildIndex in src/
Target.php - Runs all available indexers on this target.
File
- src/
Target.php, line 250
Class
- Target
- Default implementation of TargetInterface.
Namespace
Drupal\drupalmoduleupgraderCode
public function flush() {
$this->documents = [];
}