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 142

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $locked = FALSE;
doc_Drupal
2016-10-29 09:12:15
Comments
Leave a Comment

Please login to continue.