BaseFieldDefinition::getUniqueStorageIdentifier

public BaseFieldDefinition::getUniqueStorageIdentifier()

Returns a unique identifier for the field.

Return value

string

Overrides FieldStorageDefinitionInterface::getUniqueStorageIdentifier

File

core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 711

Class

BaseFieldDefinition
A class for defining entity fields.

Namespace

Drupal\Core\Field

Code

public function getUniqueStorageIdentifier() {
  return $this->getTargetEntityTypeId() . '-' . $this->getName();
}
doc_Drupal
2016-10-29 08:45:42
Comments
Leave a Comment

Please login to continue.