You are here

public function FieldStorageDefinition::isBaseField in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php \Drupal\entity_test\FieldStorageDefinition::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.

Overrides BaseFieldDefinition::isBaseField

File

core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php, line 21

Class

FieldStorageDefinition
A custom field storage definition class.

Namespace

Drupal\entity_test

Code

public function isBaseField() {
  return FALSE;
}