Search for getBundles

  1. Search 7.x for getBundles
  2. Search 9.5.x for getBundles
  3. Search 10.3.x for getBundles
  4. Search 11.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 when the field has
multiple target bundles and is set to auto-create the target entity.
EntityReferenceAutoCreateTest::testMultipleTargetBundles function core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php Tests if an entity reference field having multiple target bundles is
storing the auto-created entity in the right destination.
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.

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