Search for getBundles

  1. Search 7.x for getBundles
  2. Search 9.5.x for getBundles
  3. Search 8.9.x for getBundles
  4. Search 10.3.x for getBundles
  5. Other projects
Title Object type File name Summary
ContentModeration::getBundlesForEntityType function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Gets any bundles the workflow is applied to for the given entity type.
ContentModerationInterface::getBundlesForEntityType function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Gets any bundles the workflow is applied to for the given entity type.
ContentModerationWorkflowTypeApiTest::testGetBundlesForEntityType function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::getBundlesForEntityType
@covers ::addEntityTypeAndBundle
@covers ::removeEntityTypeAndBundle
EntityDataDefinition::getBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Gets the array of possible entity bundles.
EntityDataDefinitionInterface::getBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the array of possible entity bundles.
EntityReferenceAdminTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php Tests field settings for an entity reference field.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests multiple target bundles.
FieldStorageConfig::getBundles function core/modules/field/src/Entity/FieldStorageConfig.php Returns the list of bundles where the field storage has fields.
FieldStorageConfigInterface::getBundles function core/modules/field/src/FieldStorageConfigInterface.php Returns the list of bundles where the field storage has fields.
MigrateVocabularyFieldInstanceTest::assertTargetBundles function core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php Asserts the settings of an entity reference field config entity.

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