You are here

public function BaseFieldOverride::getUniqueIdentifier in Drupal 8

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

Returns a unique identifier for the field.

Return value

string

Overrides FieldDefinitionInterface::getUniqueIdentifier

File

core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 153

Class

BaseFieldOverride
Defines the base field override entity.

Namespace

Drupal\Core\Field\Entity

Code

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