function ContentEntityBase::bundleFieldDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions()
  2. 10 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()
2 calls to ContentEntityBase::bundleFieldDefinitions()
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
4 methods override ContentEntityBase::bundleFieldDefinitions()
Comment::bundleFieldDefinitions in core/modules/comment/src/Entity/Comment.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 1381

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.