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 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
EntityBundleConditionTest::testConditions function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests conditions.
EntityBundleExistsConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php Checks if a bundle exists on a certain content entity type.
EntityBundleExistsConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php
EntityBundleExistsConstraint::$entityTypeId property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php The entity type ID which should have the given bundle.
EntityBundleExistsConstraint::$message property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php The error message if validation fails.
EntityBundleExistsConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php @todo Add method return type declaration.
EntityBundleExistsConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php @todo Add method return type declaration.
EntityBundleExistsConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Validates that a bundle exists on a certain content entity type.
EntityBundleExistsConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityBundleExistsConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Instantiates a new instance of this class.
EntityBundleExistsConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityBundleExistsConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Constructs an EntityBundleExistsConstraintValidator object.
EntityBundleExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php @group Entity
@group Validation
EntityBundleExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Modules to install.
EntityBundleExistsConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::testDynamicEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdIsStatic function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests validating a bundle of a known (static) entity type ID.
EntityBundleExistsConstraintValidatorTest::testInvalidEntityTypeId function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests when the constraint's entityTypeId value is not valid.
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests that the constraint validator will only work with strings.
EntityBundleFieldTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests adding a custom bundle field.
EntityBundleFieldTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
EntityBundleFieldTest::$database property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php The database connection used.
EntityBundleFieldTest::$moduleHandler property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php The module handler.
EntityBundleFieldTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Modules to install.
EntityBundleFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php
EntityBundleFieldTest::testCustomBundleFieldUsage function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests making use of a custom bundle field.
EntityBundleListCacheTest class core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Tests that bundle tags are invalidated when entities change.
EntityBundleListCacheTest.php file core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
EntityBundleListCacheTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php The theme to install as the default for testing.
EntityBundleListCacheTest::$modules property core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Modules to install.
EntityBundleListCacheTest::setUp function core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
EntityBundleListCacheTest::testBundleListingCache function core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php Tests that tags are invalidated when an entity with that bundle changes.
EntityBundleListener class core/lib/Drupal/Core/Entity/EntityBundleListener.php Reacts to entity bundle CRUD on behalf of the Entity system.
EntityBundleListener.php file core/lib/Drupal/Core/Entity/EntityBundleListener.php
EntityBundleListener::$entityFieldManager property core/lib/Drupal/Core/Entity/EntityBundleListener.php The entity field manager.
EntityBundleListener::$entityTypeBundleInfo property core/lib/Drupal/Core/Entity/EntityBundleListener.php The entity type bundle info.
EntityBundleListener::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityBundleListener.php The entity type manager.
EntityBundleListener::$moduleHandler property core/lib/Drupal/Core/Entity/EntityBundleListener.php The module handler.
EntityBundleListener::onBundleCreate function core/lib/Drupal/Core/Entity/EntityBundleListener.php Reacts to a bundle being created.
EntityBundleListener::onBundleDelete function core/lib/Drupal/Core/Entity/EntityBundleListener.php Reacts to a bundle being deleted.
EntityBundleListener::__construct function core/lib/Drupal/Core/Entity/EntityBundleListener.php Constructs a new EntityBundleListener.
EntityBundleListenerInterface interface core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php An interface for reacting to entity bundle creation and deletion.
EntityBundleListenerInterface.php file core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php
EntityBundleListenerInterface::onBundleCreate function core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php Reacts to a bundle being created.
EntityBundleListenerInterface::onBundleDelete function core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php Reacts to a bundle being deleted.
EntityBundleListenerTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php @coversDefaultClass \Drupal\Core\Entity\EntityBundleListener[[api-linebreak]]
EntityBundleListenerTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php
EntityBundleListenerTest::testOnBundleCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php @covers ::onBundleCreate[[api-linebreak]]

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