You are here

public property Rewriter::$properties in Drupal 7 to 8/9 Module Upgrader 8

Properties known to the rewriter, keyed by property.

Each property can have 'get' and 'set' keys, which are the corresponding getter and setter methods to replace the property with. The 'get' key is required; the setter is only needed if it's possible to set the property at all (for example, an entity ID property would not have a setter).

Type: array

File

src/Annotation/Rewriter.php, line 45

Class

Rewriter
Defines a Plugin annotation object for parametric rewriters.

Namespace

Drupal\drupalmoduleupgrader\Annotation

Code

public $properties = [];