FieldConfigBase::id

public FieldConfigBase::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

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 186

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function id() {
  return $this->entity_type . '.' . $this->bundle . '.' . $this->field_name;
}
doc_Drupal
2016-10-29 09:10:54
Comments
Leave a Comment

Please login to continue.