Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
EntityType::setLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Sets a single link template.
EntityType::setListBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php Sets the list class.
EntityType::setStorageClass function core/lib/Drupal/Core/Entity/EntityType.php Sets the storage class.
EntityType::setUriCallback function core/lib/Drupal/Core/Entity/EntityType.php Sets a callable to use to provide the entity URI.
EntityType::setViewBuilderClass function core/lib/Drupal/Core/Entity/EntityType.php Gets the view builder class.
EntityType::showRevisionUi function core/lib/Drupal/Core/Entity/EntityType.php Indicates whether the revision form fields should be added to the form.
EntityType::__construct function core/lib/Drupal/Core/Entity/EntityType.php Constructs a new EntityType.
EntityTypeBundleInfo class core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Provides discovery and retrieval of entity type bundles.
EntityTypeBundleInfo.php file core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
EntityTypeBundleInfo::$bundleInfo property core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Static cache of bundle information.
EntityTypeBundleInfo::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php The entity type manager.
EntityTypeBundleInfo::$languageManager property core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php The language manager.
EntityTypeBundleInfo::$moduleHandler property core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php The module handler.
EntityTypeBundleInfo::$typedDataManager property core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php The typed data manager.
EntityTypeBundleInfo::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Clears static and persistent bundles.
EntityTypeBundleInfo::getAllBundleInfo function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Get the bundle info of all entity types.
EntityTypeBundleInfo::getBundleInfo function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Gets the bundle info of an entity type.
EntityTypeBundleInfo::__construct function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Constructs a new EntityTypeBundleInfo.
EntityTypeBundleInfoInterface interface core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Provides an interface for an entity type bundle info.
EntityTypeBundleInfoInterface.php file core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php
EntityTypeBundleInfoInterface::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Clears static and persistent bundles.
EntityTypeBundleInfoInterface::getAllBundleInfo function core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Get the bundle info of all entity types.
EntityTypeBundleInfoInterface::getBundleInfo function core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Gets the bundle info of an entity type.
EntityTypeBundleInfoTest class core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeBundleInfo[[api-linebreak]]
@group Entity
EntityTypeBundleInfoTest.php file core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
EntityTypeBundleInfoTest::$cacheBackend property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The cache backend to use.
EntityTypeBundleInfoTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The cache tags invalidator.
EntityTypeBundleInfoTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The entity type bundle info under test.
EntityTypeBundleInfoTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The entity type manager.
EntityTypeBundleInfoTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The language manager.
EntityTypeBundleInfoTest::$moduleHandler property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The module handler.
EntityTypeBundleInfoTest::$typedDataManager property core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php The typed data manager.
EntityTypeBundleInfoTest::providerTestGetBundleInfo function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Provides test data for testGetBundleInfo().
EntityTypeBundleInfoTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
EntityTypeBundleInfoTest::setUpEntityTypeDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Sets up the entity type manager to be tested.
EntityTypeBundleInfoTest::testClearCachedBundles function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests the clearCachedBundles() method.
EntityTypeBundleInfoTest::testGetAllBundleInfo function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests the getAllBundleInfo() method.
EntityTypeBundleInfoTest::testGetAllBundleInfoWithEntityBundleInfo function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php @covers ::getAllBundleInfo[[api-linebreak]]
EntityTypeBundleInfoTest::testGetBundleInfo function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests the getBundleInfo() method.
EntityTypeConstraint class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php Checks if a value is a valid entity type.
EntityTypeConstraint.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php
EntityTypeConstraint::$message property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php The default violation message.
EntityTypeConstraint::$type property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php The entity type option.
EntityTypeConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php
EntityTypeConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php
EntityTypeConstraintsTest class core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php Tests entity level validation constraints.
EntityTypeConstraintsTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php
EntityTypeConstraintsTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php
EntityTypeConstraintsTest::testConstraintDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php Tests defining entity constraints via entity type annotations and hooks.
EntityTypeConstraintsTest::testConstraintValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php Tests entity constraints are validated.

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