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 instances cannot be created
- existing instances cannot be deleted.
Defaults to FALSE.
Type: bool
File
- drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php, line 144
- Contains \Drupal\field\Plugin\Core\Entity\Field.
Class
- Field
- Defines the Field entity.
Namespace
Drupal\field\Plugin\Core\Entity
Code
public $locked = FALSE;