You are here

protected static property ContextDefinition::$nameMap in Rules 8.3

The mapping of config export keys to internal properties.

Type: array

File

src/Context/ContextDefinition.php, line 83

Class

ContextDefinition
Extends the core context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

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