Search for entity

  1. Search 7.x for entity
  2. Search 9.5.x for entity
  3. Search 10.3.x for entity
  4. Search 11.x for entity
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Entity class core/lib/Drupal/Core/Entity/Entity.php Defines a base entity class.
Entity class core/modules/views/src/Plugin/views/argument_validator/Entity.php Defines a argument validator plugin for each entity type.
Entity class core/modules/views/src/Plugin/views/area/Entity.php Provides an area handler which renders an entity in a certain view mode.
Entity class core/modules/migrate/src/Plugin/migrate/destination/Entity.php Provides a generic destination to import entities.
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

All search results

Title Object type File name Summary
EntityTypeRepository::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Clear the static cache.
EntityTypeRepository::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Gets the entity type ID based on the class that is called on.
EntityTypeRepository::getEntityTypeLabels function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Builds a list of entity type labels suitable for a Form API options list.
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]]

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