function FieldStorageDefinitionInterface::isBaseField

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isBaseField()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isBaseField()
  3. 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::isBaseField()

Determines whether the field is a base field.

Base fields are not specific to a given bundle or a set of bundles. This excludes configurable fields, as they are always attached to a specific bundle.

Return value

bool Whether the field is a base field.

2 methods override FieldStorageDefinitionInterface::isBaseField()
BaseFieldDefinition::isBaseField in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Determines whether the field is a base field.
FieldStorageConfig::isBaseField in core/modules/field/src/Entity/FieldStorageConfig.php
Determines whether the field is a base field.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 323

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function isBaseField();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.