function FieldStorageConfig::id

Same name in other branches
  1. 8.9.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::id()
  2. 10 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::id()
  3. 11.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::id()

Overrides EntityBase::id

2 calls to FieldStorageConfig::id()
FieldStorageConfig::preSaveNew in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving a new field definition.
FieldStorageConfig::preSaveUpdated in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving an updated field definition.

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 273

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

public function id() {
    return $this->getTargetEntityTypeId() . '.' . $this->getName();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.