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
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
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
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
EntityUnitTest::testLanguage function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::language[[api-linebreak]]
EntityUnitTest::testLoad function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::load[[api-linebreak]]
EntityUnitTest::testLoadMultiple function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::loadMultiple[[api-linebreak]]

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