You are here

public function FieldStorageDefinition::isBaseField in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 26
Contains \Drupal\entity_test\FieldStorageDefinition.

Class

FieldStorageDefinition
A custom field storage definition class.

Namespace

Drupal\entity_test

Code

public function isBaseField() {
  return FALSE;
}