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 |
|---|---|---|---|
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesAllowedInDefaultWorkspace | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace | function | core/ |
@covers ::validate[[api-linebreak]] |
| EntityReferenceTestTrait | trait | core/ |
Provides common functionality for the EntityReference test classes. |
| EntityReferenceTestTrait.php | file | core/ |
|
| EntityReferenceTestTrait::createEntityReferenceField | function | core/ |
Creates a field of an entity reference field storage on the specified bundle. |
| EntityReferenceWidgetTest | class | core/ |
Tests the Media library entity reference widget. |
| EntityReferenceWidgetTest.php | file | core/ |
|
| EntityReferenceWidgetTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityReferenceWidgetTest::$mediaItems | property | core/ |
Test media items. |
| EntityReferenceWidgetTest::$modules | property | core/ |
Modules to enable. |
| EntityReferenceWidgetTest::setUp | function | core/ |
|
| EntityReferenceWidgetTest::sortableUpdate | function | core/ |
Define to provide any necessary callback following layout change. |
| EntityReferenceWidgetTest::testAddAfterReordering | function | core/ |
Tests that order is correct after re-order and adding another item. |
| EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange | function | core/ |
Tests that disabled media items don't capture focus on page load. |
| EntityReferenceWidgetTest::testRemoveAfterReordering | function | core/ |
Tests that changed order is maintained after removing a selection. |
| EntityReferenceWidgetTest::testRequiredMediaField | function | core/ |
Tests saving a required media library field. |
| EntityReferenceWidgetTest::testWidget | function | core/ |
Tests that the Media library's widget works as expected. |
| EntityReferenceWidgetTest::testWidgetPreview | function | core/ |
Tests the preview displayed by the field widget. |
| EntityReferenceXSSTest | class | core/ |
Tests possible XSS security issues in entity references. |
| EntityReferenceXSSTest.php | file | core/ |
|
| EntityReferenceXSSTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityReferenceXSSTest::$modules | property | core/ |
Modules to enable. |
| EntityReferenceXSSTest::testEntityReferenceXSS | function | core/ |
Tests markup is escaped in the entity reference select and label formatter. |
| EntityRepository::getLatestTranslationAffectedRevision | function | core/ |
Returns the latest revision translation of the specified entity. |
| EntityRepositoryTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityRepository[[api-linebreak]] @group Entity |
| EntityRepositoryTest | class | core/ |
Tests the entity repository. |
| EntityRepositoryTest.php | file | core/ |
|
| EntityRepositoryTest.php | file | core/ |
|
| EntityRepositoryTest::$contextRepository | property | core/ |
The context repository. |
| EntityRepositoryTest::$entityRepository | property | core/ |
The entity repository under test. |
| EntityRepositoryTest::$entityRepository | property | core/ |
The entity repository. |
| EntityRepositoryTest::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityRepositoryTest::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityRepositoryTest::$languageManager | property | core/ |
The language manager. |
| EntityRepositoryTest::$modules | property | core/ |
Modules to enable. |
| EntityRepositoryTest::assertEntityType | function | core/ |
Asserts that the entity has the expected entity type ID. |
| EntityRepositoryTest::doTestLanguageFallback | function | core/ |
Check that language fallback is applied. |
| EntityRepositoryTest::getLanguageContexts | function | core/ |
Returns a set of language contexts matching the specified language. |
| EntityRepositoryTest::setUp | function | core/ |
|
| EntityRepositoryTest::setUp | function | core/ |
|
| EntityRepositoryTest::testGetActive | function | core/ |
Tests retrieving active variants. |
| EntityRepositoryTest::testGetCanonical | function | core/ |
Tests retrieving canonical variants. |
| EntityRepositoryTest::testGetTranslationFromContext | function | core/ |
Tests the getTranslationFromContext() method. |
| EntityResolverManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityResolverManager[[api-linebreak]] @group Entity |
| EntityResolverManagerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Entity\EntityResolverManagerTest. |
| EntityResolverManagerTest::$classResolver | property | core/ |
The mocked class resolver. |
| EntityResolverManagerTest::$container | property | core/ |
The mocked dependency injection container. |
| EntityResolverManagerTest::$entityResolverManager | property | core/ |
The tested entity resolver manager. |
| EntityResolverManagerTest::$entityTypeManager | property | core/ |
The mocked entity type manager. |
| EntityResolverManagerTest::providerTestSetRouteOptionsWithContentController | function | core/ |
Data provider for testSetRouteOptionsWithContentController. |
Pagination
- Previous page
- Page 221
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.