ContextDefinition::$nameMap

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',
    'getter' => 'getter',
    'allow_null' => 'allowNull',
    'assignment_restriction' => 'assignmentRestriction',
];