You are here

public function FieldDefinitionInterface::getUniqueIdentifier in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::getUniqueIdentifier()
  2. 9 core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::getUniqueIdentifier()

Returns a unique identifier for the field.

Return value

string

2 methods override FieldDefinitionInterface::getUniqueIdentifier()
BaseFieldDefinition::getUniqueIdentifier in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns a unique identifier for the field.
FieldDefinition::getUniqueIdentifier in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns a unique identifier for the field.

File

core/lib/Drupal/Core/Field/FieldDefinitionInterface.php, line 267

Class

FieldDefinitionInterface
Defines an interface for entity field definitions.

Namespace

Drupal\Core\Field

Code

public function getUniqueIdentifier();