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
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.
EntityTypeTest::testHasKey function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasKey() method.
EntityTypeTest::testHasLabelCallack function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::hasLabelCallback[[api-linebreak]]
EntityTypeTest::testId function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::id[[api-linebreak]]
EntityTypeTest::testIdExceedsMaxLength function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::__construct[[api-linebreak]]
EntityTypeTest::testIsInternal function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the isInternal() method.
EntityTypeTest::testIsRevisionable function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the isRevisionable() method.
EntityTypeTest::testIsSerializable function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests that the EntityType object can be serialized.
EntityTypeTest::testIsSubClassOf function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::isSubclassOf[[api-linebreak]]
@group legacy
@expectedDeprecation Drupal\Core\Entity\EntityType::isSubclassOf() is deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use…
EntityTypeTest::testSet function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::set[[api-linebreak]]
@covers ::get[[api-linebreak]]
EntityTypeTest::testSetLabelCallack function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLabelCallback[[api-linebreak]]
EntityTypeTest::testSetLinkTemplateWithInvalidPath function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLinkTemplate[[api-linebreak]]
EntityTypeTest::testSetStorageClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the setStorageClass() method.
EntityTypeWithoutLanguageFormTest class core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php Tests entity type without language support.
EntityTypeWithoutLanguageFormTest.php file core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php
EntityTypeWithoutLanguageFormTest::$defaultTheme property core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php The theme to install as the default for testing.
EntityTypeWithoutLanguageFormTest::$modules property core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php Modules to enable.
EntityTypeWithoutLanguageFormTest::setUp function core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php
EntityTypeWithoutLanguageFormTest::testEmptyLangcode function core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php Tests configuration options with an entity without language definition.
EntityTypeWithoutViewsDataTest class core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php Tests datetime_range.module when an entity type provides no views data.
EntityTypeWithoutViewsDataTest.php file core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php
EntityTypeWithoutViewsDataTest::$modules property core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php Modules to enable.
EntityTypeWithoutViewsDataTest::testEntityTypeWithoutViewsData function core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php Tests the case when an entity type provides no views data.
EntityUnitTest class core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @coversDefaultClass \Drupal\Core\Entity\Entity[[api-linebreak]]
@group Entity
@group Access
EntityUnitTest.php file core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The mocked cache tags invalidator.
EntityUnitTest::$entity property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity under test.
EntityUnitTest::$entityType property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity type used for testing.
EntityUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The ID of the type of the entity under test.
EntityUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity type manager used for testing.
EntityUnitTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The language manager.
EntityUnitTest::$routeProvider property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The route provider used for testing.
EntityUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The UUID generator used for testing.
EntityUnitTest::$values property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity values.
EntityUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::setupTestLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php Setup for the tests of the ::load() method.
EntityUnitTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::access[[api-linebreak]]
EntityUnitTest::testBundle function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::bundle[[api-linebreak]]
EntityUnitTest::testCacheContexts function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheContexts[[api-linebreak]]
@covers ::addCacheContexts[[api-linebreak]]
EntityUnitTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheMaxAge[[api-linebreak]]
@covers ::mergeCacheMaxAge[[api-linebreak]]
EntityUnitTest::testCacheTags function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getCacheTags[[api-linebreak]]
@covers ::getCacheTagsToInvalidate[[api-linebreak]]
@covers ::addCacheTags[[api-linebreak]]
EntityUnitTest::testCreate function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::create[[api-linebreak]]
EntityUnitTest::testDelete function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::delete[[api-linebreak]]
EntityUnitTest::testGetEntityType function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityType[[api-linebreak]]
EntityUnitTest::testGetEntityTypeId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::getEntityTypeId[[api-linebreak]]
EntityUnitTest::testId function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::id[[api-linebreak]]
EntityUnitTest::testIsNew function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::isNew[[api-linebreak]]
@covers ::enforceIsNew[[api-linebreak]]
EntityUnitTest::testLabel function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::label[[api-linebreak]]
@group legacy

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