function BaseFieldDefinition::isBaseField

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

Overrides FieldStorageDefinitionInterface::isBaseField

1 method overrides BaseFieldDefinition::isBaseField()
FieldStorageDefinition::isBaseField in core/modules/system/tests/modules/entity_test/src/FieldStorageDefinition.php
Determines whether the field is a base field.

File

core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 750

Class

BaseFieldDefinition
A class for defining entity fields.

Namespace

Drupal\Core\Field

Code

public function isBaseField() {
    return TRUE;
}

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