public function FieldConfigBase::id in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::id()
- 10 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 EntityBase::id
File
- core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php, line 197
Class
- FieldConfigBase
- Base class for configurable field definitions.
Namespace
Drupal\Core\FieldCode
public function id() {
return $this->entity_type . '.' . $this->bundle . '.' . $this->field_name;
}