You are here

public function FieldStorageConfig::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::id()

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides Entity::id

1 call to FieldStorageConfig::id()
FieldStorageConfig::preSaveNew in core/modules/field/src/Entity/FieldStorageConfig.php
Prepares saving a new field definition.

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 267
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

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