You are here

public function TargetInterface::save in Drupal 7 to 8/9 Module Upgrader 8

Saves the file in which a particular node appears.

Parameters

\Pharborist\Node|null $node: The node to save. This can be positioned anywhere in the syntax tree. If NULL, all open files will be saved.

Throws

\Drupal\drupalmoduleupgrader\IOException

1 method overrides TargetInterface::save()
Target::save in src/Target.php
Saves the file in which a particular node appears.

File

src/TargetInterface.php, line 109

Class

TargetInterface
Represents a Drupal 7 module being run through the DMU.

Namespace

Drupal\drupalmoduleupgrader

Code

public function save(Node $node = NULL);