You are here

public function FieldConfigBase::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\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 191
Contains \Drupal\Core\Field\FieldConfigBase.

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;
}