You are here

public function FieldConfig::getUniqueIdentifier in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field/src/Entity/FieldConfig.php \Drupal\field\Entity\FieldConfig::getUniqueIdentifier()

Returns a unique identifier for the field.

Return value

string

Overrides FieldDefinitionInterface::getUniqueIdentifier

File

core/modules/field/src/Entity/FieldConfig.php, line 358

Class

FieldConfig
Defines the Field entity.

Namespace

Drupal\field\Entity

Code

public function getUniqueIdentifier() {
  return $this
    ->uuid();
}