| BundleClassInheritanceException::__construct |
function |
core/lib/Drupal/Core/Entity/Exception/BundleClassInheritanceException.php |
Constructs a BundleClassInheritanceException. |
| BundleClassTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php |
Tests entity bundle classes. |
| 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 |
Modules to install. |
| 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 |
#[HasNamedArguments] |
| 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. |
| BundleDeleteFormTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
Tests the bundle deletion form. |
| BundleDeleteFormTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
|
| BundleDeleteFormTest::$entityTypeManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
The entity type manager. |
| BundleDeleteFormTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
Modules to install. |
| BundleDeleteFormTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
|
| BundleDeleteFormTest::testBundleEntityDeleteForm |
function |
core/tests/Drupal/KernelTests/Core/Entity/BundleDeleteFormTest.php |
Tests that deleting a bundle with content entities is not allowed. |
| BundleEntityDeleteForm |
class |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
A generic entity delete form for entities which are bundles. |
| BundleEntityDeleteForm.php |
file |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
|
| BundleEntityDeleteForm::buildForm |
function |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
Form constructor. |
| BundleEntityDeleteForm::getAdditionalReasonsToPreventDeletion |
function |
core/lib/Drupal/Core/Entity/Form/BundleEntityDeleteForm.php |
Gets a list of additional reasons preventing deletion of the bundle entity. |