function EntityTypeManagerTestEntity::bundleFieldDefinitions
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityTypeManagerTestEntity::bundleFieldDefinitions()
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityTypeManagerTestEntity::bundleFieldDefinitions()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\EntityTypeManagerTestEntity::bundleFieldDefinitions()
1 call to EntityTypeManagerTestEntity::bundleFieldDefinitions()
- EntityTypeManagerTestEntityBundle::bundleFieldDefinitions in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php
1 method overrides EntityTypeManagerTestEntity::bundleFieldDefinitions()
- EntityTypeManagerTestEntityBundle::bundleFieldDefinitions in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php, line 913
Class
- EntityTypeManagerTestEntity
- Provides a content entity with dummy static method implementations.
Namespace
Drupal\Tests\Core\EntityCode
public static function bundleFieldDefinitions(EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) {
return static::$bundleFieldDefinitions[$entity_type->id()][$bundle] ?? [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.