Flag indicating whether the field storage should be deleted when orphaned.
By default field storages for configurable fields are removed when there are no remaining fields using them. If multiple modules provide bundles which need to use the same field storage then setting this to TRUE will preserve the field storage regardless of what happens to the bundles. The classic use case for this is node body field storage since Book, Forum, the Standard profile and bundle (node type) creation through the UI all use same field storage.
Type: bool
File
- core/modules/field/src/Entity/FieldStorageConfig.php, line 157
Class
- FieldStorageConfig
- Defines the Field storage configuration entity.
Namespace
Drupal\field\Entity
Code
protected $persist_with_no_fields = FALSE;
Please login to continue.