You are here

public static property EntityContextDefinition::$nameMap in Rules 8.3

The mapping of config export keys to internal properties.

Type: array

File

src/Context/EntityContextDefinition.php, line 28

Class

EntityContextDefinition
Extends the core entity context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

public static $nameMap = [
  'type' => 'dataType',
  'label' => 'label',
  'description' => 'description',
  'multiple' => 'isMultiple',
  'required' => 'isRequired',
  'default_value' => 'defaultValue',
  'constraints' => 'constraints',
  'allow_null' => 'allowNull',
  'assignment_restriction' => 'assignmentRestriction',
];