Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
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::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::$message property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php The default violation message.
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
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 Modules to install.
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 Modules to install.
BundlePermissionHandlerTraitTest::buildPermissions function core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php
BundlePermissionHandlerTraitTest::testGeneratePermissions function core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php Tests generate permissions.
BundleTranslationSettingsInterface interface core/modules/content_translation/src/BundleTranslationSettingsInterface.php Interface providing support for content translation bundle settings.
BundleTranslationSettingsInterface.php file core/modules/content_translation/src/BundleTranslationSettingsInterface.php
BundleTranslationSettingsInterface::getBundleTranslationSettings function core/modules/content_translation/src/BundleTranslationSettingsInterface.php Returns translation settings for the specified bundle.
BundleTranslationSettingsInterface::setBundleTranslationSettings function core/modules/content_translation/src/BundleTranslationSettingsInterface.php Sets translation settings for the specified bundle.
Button class core/lib/Drupal/Core/Render/Element/Button.php Provides an action button form element.

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