public function TargetInterface::create in Drupal 7 to 8/9 Module Upgrader 8
Creates a new, empty document.
Parameters
string $file: The path of the file to create, relative to the CWD.
Return value
\Pharborist\RootNode
1 method overrides TargetInterface::create()
- Target::create in src/
Target.php - Creates a new, empty document.
File
- src/
TargetInterface.php, line 119
Class
- TargetInterface
- Represents a Drupal 7 module being run through the DMU.
Namespace
Drupal\drupalmoduleupgraderCode
public function create($file);