protected static property ContextDefinition::$nameMap in Typed Data API enhancements 8
The mapping of config export keys to internal properties.
Type: array
File
- src/
Context/ ContextDefinition.php, line 18
Class
- ContextDefinition
- Extends the core context definition class with useful methods.
Namespace
Drupal\typed_data\ContextCode
protected static $nameMap = [
'type' => 'dataType',
'label' => 'label',
'description' => 'description',
'multiple' => 'isMultiple',
'required' => 'isRequired',
'default_value' => 'defaultValue',
'constraints' => 'constraints',
'allow_null' => 'allowNull',
'assignment_restriction' => 'assignmentRestriction',
];