Search for bundle

  1. Search 7.x for bundle
  2. Search 9.5.x for bundle
  3. Search 8.9.x for bundle
  4. Search 10.3.x for bundle
  5. Search 11.x for bundle
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Bundle class core/modules/views/src/Plugin/views/filter/Bundle.php Filter class which allows filtering by entity bundles.
Bundle class core/lib/Drupal/Core/Entity/Attribute/Bundle.php Defines an attribute for registering a bundle class.

All search results

Title Object type File name Summary
BundleClassTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
BundleClassTest::$alterAttributeBundleInfo property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Controls whether ::entityBundleInfoAlter() will alter bundle information.
BundleClassTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
BundleClassTest::$storage property core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php The entity storage.
BundleClassTest::entityBundleInfoAlter function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Implements hook_entity_bundle_info_alter().
BundleClassTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
BundleClassTest::testAmbiguousBundleClassExceptionCreate function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two bundles share the same bundle class.
BundleClassTest::testAmbiguousBundleClassExceptionEntityTypeRepository function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception is thrown if two entity types share the same bundle class.
BundleClassTest::testBundleClassAttributeDiscovery function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests bundle class discovery via attributes.
BundleClassTest::testBundleClassShouldExist function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception thrown if a bundle class doesn't exist.
BundleClassTest::testBundleClassShouldExtendEntityClass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks exception thrown if a bundle class doesn't extend the entity class.
BundleClassTest::testEntityClassNotTakenFromActiveDefinitions function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests that a module can override an entity-type class.
BundleClassTest::testEntityNoBundleSubclass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests making use of a custom bundle class for an entity without bundles.
BundleClassTest::testEntitySubclass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests making use of a custom bundle class.
BundleClassTest::testNoAmbiguousBundleClassExceptionSharingEntityClass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks that no exception is thrown when two bundles share an entity class.
BundleConfigImportValidate class core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php Entity config importer validation event subscriber.
BundleConfigImportValidate.php file core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php
BundleConfigImportValidate::$configManager property core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php The config manager.
BundleConfigImportValidate::$entityTypeManager property core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php The entity type manager service.
BundleConfigImportValidate::onConfigImporterValidate function core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php Ensures bundles that will be deleted are not in use.
BundleConfigImportValidate::__construct function core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php Constructs the event subscriber.
BundleConstraint class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php Checks if a value is a valid entity type.
BundleConstraint.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
BundleConstraint::$bundle property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php The bundle option.
BundleConstraint::getBundleOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php Gets the bundle option as array.
BundleConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
BundleConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
BundleConstraint::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
BundleConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php Validates the Bundle constraint.
BundleConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php
BundleConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraintValidator.php
BundleConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Tests validation constraints for BundleConstraintValidator.
BundleConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
BundleConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
BundleConstraintValidatorTest::$typedDataManager property core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php The typed data manager to use.
BundleConstraintValidatorTest::assertValidation function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Executes the BundleConstraintValidator test for a given bundle.
BundleConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
BundleConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Tests bundle constraint validation.
BundleEntityFormBase class core/lib/Drupal/Core/Entity/BundleEntityFormBase.php Class BundleEntityFormBase is a base form for bundle config entities.
BundleEntityFormBase.php file core/lib/Drupal/Core/Entity/BundleEntityFormBase.php
BundleEntityFormBase::protectBundleIdElement function core/lib/Drupal/Core/Entity/BundleEntityFormBase.php Protects the bundle entity's ID property's form element against changes.
BundleEntityStorageInterface interface core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php A storage that supports entities with bundle specific classes.
BundleEntityStorageInterface.php file core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php
BundleEntityStorageInterface::getBundleFromClass function core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php Retrieves the bundle name for a provided class name.
BundlePermissionHandlerTrait trait core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php Provides a method to simplify generating bundle level permissions.
BundlePermissionHandlerTrait.php file core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php
BundlePermissionHandlerTrait::generatePermissions function core/lib/Drupal/Core/Entity/BundlePermissionHandlerTrait.php Builds a permissions array for the supplied bundles.
BundlePermissionHandlerTraitTest class core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php Tests Drupal\Core\Entity\BundlePermissionHandlerTrait.
BundlePermissionHandlerTraitTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php
BundlePermissionHandlerTraitTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php

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