Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityKernelTestBase::installModule | function | core/ |
Installs a module and refreshes services. |
| EntityKernelTestBase::refreshServices | function | core/ |
Refresh services. |
| EntityKernelTestBase::reloadEntity | function | core/ |
Reloads the given entity from the storage and returns it. |
| EntityKernelTestBase::setUp | function | core/ |
|
| EntityKernelTestBase::uninstallModule | function | core/ |
Uninstalls a module and refreshes services. |
| EntityKernelTestBaseTest | class | core/ |
@covers \Drupal\KernelTests\Core\Entity\EntityKernelTestBase[[api-linebreak]] |
| EntityKernelTestBaseTest.php | file | core/ |
|
| EntityKernelTestBaseTest::setUp | function | core/ |
|
| EntityKernelTestBaseTest::testSetUpCurrentUser | function | core/ |
Tests that the current user is set up correctly. |
| EntityKeysTest | class | core/ |
Test the behavior of entity keys. |
| EntityKeysTest.php | file | core/ |
|
| EntityKeysTest::multipleKeysCacheTestCases | function | core/ |
Data provider for ::testMultipleKeysCache. |
| EntityKeysTest::testMultipleKeysCache | function | core/ |
Test the cache when multiple keys reference a single field. |
| EntityLanguageTestBase | class | core/ |
Base class for language-aware entity tests. |
| EntityLanguageTestBase.php | file | core/ |
|
| EntityLanguageTestBase::$fieldName | property | core/ |
The test field name. |
| EntityLanguageTestBase::$langcodes | property | core/ |
The available language codes. |
| EntityLanguageTestBase::$languageManager | property | core/ |
The language manager service. |
| EntityLanguageTestBase::$modules | property | core/ |
Modules to enable. |
| EntityLanguageTestBase::$untranslatableFieldName | property | core/ |
The untranslatable test field name. |
| EntityLanguageTestBase::setUp | function | core/ |
|
| EntityLanguageTestBase::toggleFieldTranslatability | function | core/ |
Toggles field storage translatability. |
| EntityLegacyTest | class | core/ |
Tests legacy entity functions. |
| EntityLegacyTest.php | file | core/ |
|
| EntityLegacyTest::$modules | property | core/ |
Modules to enable. |
| EntityLegacyTest::setUp | function | core/ |
|
| EntityLegacyTest::testEntityCreate | function | core/ |
Tests deprecation of the entity_create() function. |
| EntityLegacyTest::testEntityDeleteMultiple | function | core/ |
Tests that entity_delete_multiple triggers an error. |
| EntityLegacyTest::testEntityLegacyCode | function | core/ |
@expectedDeprecation entity_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the entity type storage's loadMultiple() method. See https://www.drupal.org/node/2266845 @expectedDeprecation entity_load() is… |
| EntityLegacyTest::testEntityLoadMultipleByProperties | function | core/ |
@expectedDeprecation entity_load_multiple_by_properties() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the entity type storage's loadByProperties() method. See https://www.drupal.org/node/3050910 |
| EntityLegacyTest::testEntityView | function | core/ |
@expectedDeprecation entity_view() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder($entity->getEntityTypeId())->view($entity, $view_mode, $langcode) instead. See… |
| EntityLegacyTest::testLegacyDisplayFunctions | function | core/ |
@expectedDeprecation entity_get_display() is deprecated in drupal:8.8.0. It will be removed before drupal:9.0.0. Use \Drupal::service('entity_display.repository')->getViewDisplay() instead. See… |
| EntityLinkOutputUrlUpdateTest | class | core/ |
Tests that the additional settings are added to the entity link field. |
| EntityLinkOutputUrlUpdateTest.php | file | core/ |
|
| EntityLinkOutputUrlUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
| EntityLinkOutputUrlUpdateTest::testViewsPostUpdateEntityLinkUrl | function | core/ |
Tests that the additional settings are added to the config. |
| EntityLinkTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\Entity[[api-linebreak]] @group Entity |
| EntityLinkTest.php | file | core/ |
|
| EntityLinkTest::$entityTypeManager | property | core/ |
The mocked entity type manager. |
| EntityLinkTest::$languageManager | property | core/ |
The mocked language manager. |
| EntityLinkTest::$linkGenerator | property | core/ |
The tested link generator. |
| EntityLinkTest::providerTestLink | function | core/ |
Provides test data for testLink(). |
| EntityLinkTest::setUp | function | core/ |
|
| EntityLinkTest::testLink | function | core/ |
Tests for the Entity::link() method |
| EntityLinkTest::testToLink | function | core/ |
Tests for the Entity::toLink() method |
| EntityListBuilderTest | class | core/ |
@coversDefaultClass \Drupal\entity_test\EntityTestListBuilder[[api-linebreak]] @group Entity |
| EntityListBuilderTest | class | core/ |
Tests entity list builder functionality. |
| EntityListBuilderTest.php | file | core/ |
|
| EntityListBuilderTest.php | file | core/ |
Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest. |
| EntityListBuilderTest::$container | property | core/ |
The service container used for testing. |
Pagination
- Previous page
- Page 209
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.