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
EntityTypeRepository::__construct function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Constructs a new EntityTypeRepository.
EntityTypeRepositoryInterface interface core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Provides an interface for helper methods for loading entity types.
EntityTypeRepositoryInterface.php file core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php
EntityTypeRepositoryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Clear the static cache.
EntityTypeRepositoryInterface::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryInterface::getEntityTypeLabels function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Builds a list of entity type labels suitable for a Form API options list.
EntityTypeRepositoryTest class core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityTypeRepository[[api-linebreak]]
@group Entity
EntityTypeRepositoryTest.php file core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
EntityTypeRepositoryTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php The entity type manager.
EntityTypeRepositoryTest::$entityTypeRepository property core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php The entity type repository under test.
EntityTypeRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
EntityTypeRepositoryTest::setUpEntityTypeDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Sets up the entity type manager to be tested.
EntityTypeRepositoryTest::testGetEntityTypeFromClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeLabels function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests the getEntityTypeLabels() method.
EntityTypeTest class core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @coversDefaultClass \Drupal\Core\Entity\EntityType[[api-linebreak]]
@group Entity
EntityTypeTest.php file core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
EntityTypeTest::assertNoPublicProperties function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Asserts there on no public properties on the object instance.
EntityTypeTest::getTestHandlerClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Gets a mock controller class name.
EntityTypeTest::providerTestGet function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Provides test data for testGet.
EntityTypeTest::providerTestGetBundleLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Provides test data for ::testGetBundleLabel().
EntityTypeTest::providerTestGetKeys function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Provides test data.
EntityTypeTest::providerTestSet function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Provides test data for testSet.
EntityTypeTest::setUpEntityType function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Sets up an EntityType object for a given set of values.
EntityTypeTest::testConstraintMethods function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the constraint methods.
EntityTypeTest::testEntityClassImplements function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::entityClassImplements[[api-linebreak]]
EntityTypeTest::testGet function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::get[[api-linebreak]]
EntityTypeTest::testGetAccessControlClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getAccessControlClass() method.
EntityTypeTest::testGetBundleLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the ::getBundleLabel() method.
EntityTypeTest::testGetCollectionLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCollectionLabel[[api-linebreak]]
EntityTypeTest::testGetCountLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCountLabel[[api-linebreak]]
EntityTypeTest::testGetCountLabelDefault function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCountLabel[[api-linebreak]]
EntityTypeTest::testGetFormClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getFormClass() method.
EntityTypeTest::testGetGroupLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getGroupLabel[[api-linebreak]]
EntityTypeTest::testGetHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getHandler() method.
EntityTypeTest::testGetKey function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getKey() method.
EntityTypeTest::testGetKeys function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getKeys() method.
EntityTypeTest::testGetLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getLabel[[api-linebreak]]
EntityTypeTest::testGetLabelCallack function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getLabelCallback[[api-linebreak]]
EntityTypeTest::testGetListBuilderClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getListBuilderClass() method.
EntityTypeTest::testgetOriginalClassChanged function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setClass[[api-linebreak]]
@covers ::getOriginalClass[[api-linebreak]]
EntityTypeTest::testgetOriginalClassUnchanged function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getOriginalClass[[api-linebreak]]
EntityTypeTest::testGetPluralLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getPluralLabel[[api-linebreak]]
EntityTypeTest::testGetPluralLabelDefault function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getPluralLabel[[api-linebreak]]
EntityTypeTest::testGetSingularLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getSingularLabel[[api-linebreak]]
EntityTypeTest::testGetSingularLabelDefault function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getSingularLabel[[api-linebreak]]
EntityTypeTest::testGetStorageClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getStorageClass() method.
EntityTypeTest::testGetViewBuilderClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getViewBuilderClass() method.
EntityTypeTest::testHasFormClasses function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasFormClasses() method.

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