Search for getBundle

  1. Search 7.x for getBundle
  2. Search 9.5.x for getBundle
  3. Search 8.9.x for getBundle
  4. Search 11.x for getBundle
  5. Other projects
Title Object type File name Summary
FieldConfigListBuilder::$targetBundle property core/modules/field_ui/src/FieldConfigListBuilder.php The name of the bundle the listed fields are attached to.
FieldConfigValidationTest::testTargetBundleMustExist function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that the target bundle of the field is checked.
FieldDefinition::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Gets the bundle the field is attached to.
FieldDefinition::setTargetBundle function core/lib/Drupal/Core/Field/FieldDefinition.php Set the target bundle.
FieldDefinitionInterface::getTargetBundle function core/lib/Drupal/Core/Field/FieldDefinitionInterface.php Gets the bundle the field is attached to.
FieldDiscovery::getBundleFields function core/modules/migrate_drupal/src/FieldDiscovery.php Gets all field information for a particular entity type and bundle.
FieldDiscoveryTest::getBundleFieldsData function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Provides data for testGetBundleFields.
FieldDiscoveryTest::testGetBundleFields function core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php Tests the protected getEntityFields method.
FieldDiscoveryTestClass::getBundleFields function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Gets all field information for a particular entity type and bundle.
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.
ResourceType::getBundle function core/modules/jsonapi/src/ResourceType/ResourceType.php Gets the bundle.
RevisionDeleteForm::getBundleLabel function core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Returns the bundle label of an entity.
RevisionRevertForm::getBundleLabel function core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Returns the bundle label of an entity.
TargetBundle class core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php Converts a Drupal 6 vocabulary ID to a target bundle array.
TargetBundle.php file core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php
TargetBundle::transform function core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php Performs the associated process.

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