function ContentEntityBase::bundleFieldDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions()
  2. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions()
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions()
3 calls to ContentEntityBase::bundleFieldDefinitions()
EntityTestComputedBundleField::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedBundleField.php
EntityTestFieldOverride::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php
EntityTestUpdate::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
5 methods override ContentEntityBase::bundleFieldDefinitions()
Comment::bundleFieldDefinitions in core/modules/comment/src/Entity/Comment.php
EntityTestComputedBundleField::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedBundleField.php
EntityTestFieldOverride::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldOverride.php
EntityTestUpdate::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
Term::bundleFieldDefinitions in core/modules/taxonomy/src/Entity/Term.php

File

core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 1421

Class

ContentEntityBase
Implements Entity Field API specific enhancements to the Entity class.

Namespace

Drupal\Core\Entity

Code

public static function bundleFieldDefinitions(EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) {
    return [];
}

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