FieldStorageConfig::$locked
Same name in other branches
- 9 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::locked
- 10 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::locked
- 11.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::locked
Flag indicating whether the field is available for editing.
If TRUE, some actions not available though the UI (but are still possible through direct API manipulation):
- field settings cannot be changed,
- new fields cannot be created
- existing fields cannot be deleted.
Defaults to FALSE.
Type: bool
File
-
core/
modules/ field/ src/ Entity/ FieldStorageConfig.php, line 150
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\EntityCode
protected $locked = FALSE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.