You are here

public function FieldStorageDefinitionInterface::isBaseField in Drupal 8

Same name and namespace in other branches
  1. 9 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 337

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function isBaseField();