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 |
|---|---|---|---|
| TranslatableMarkupTest::$lastErrorNumber | property | core/ |
The error number of the last error in the error handler. |
| TranslatableMarkupTest::errorHandler | function | core/ |
Custom error handler that saves the last error. |
| TranslatableMarkupTest::testIsStringAssertion | function | core/ |
@covers ::__construct[[api-linebreak]] |
| TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup | function | core/ |
@covers ::__construct[[api-linebreak]] |
| TranslatableMarkupTest::testToString | function | core/ |
Tests that errors are correctly handled when a __toString() fails. |
| TranslatableRevisionableInterface::isLatestTranslationAffectedRevision | function | core/ |
Checks whether this is the latest revision affecting this translation. |
| TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId | function | core/ |
Returns the latest revision affecting the specified translation. |
| TranslatedViewTest | class | core/ |
Tests that translated strings in views UI don't override original strings. |
| TranslatedViewTest.php | file | core/ |
|
| TranslatedViewTest::$adminUser | property | core/ |
Administrator user for tests. |
| TranslatedViewTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TranslatedViewTest::$langcodes | property | core/ |
Languages to enable. |
| TranslatedViewTest::$modules | property | core/ |
Modules to install. |
| TranslatedViewTest::setUp | function | core/ |
Sets up the test. |
| TranslatedViewTest::testTranslatedStrings | function | core/ |
|
| TranslationInterface::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
| TranslationLinkTest | class | core/ |
Tests the content translation overview link field handler. |
| TranslationLinkTest.php | file | core/ |
|
| TranslationLinkTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TranslationLinkTest::$modules | property | core/ |
Modules to install. |
| TranslationLinkTest::$testViews | property | core/ |
Views used by this test. |
| TranslationLinkTest::getTranslatorPermissions | function | core/ |
Returns an array of permissions needed for the translator. |
| TranslationLinkTest::setUp | function | core/ |
|
| TranslationLinkTest::testTranslationLink | function | core/ |
Tests the content translation overview link field handler. |
| TranslationManager::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
| TranslationManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\StringTranslation\TranslationManager[[api-linebreak]] @group StringTranslation |
| TranslationManagerTest.php | file | core/ |
|
| TranslationManagerTest::$translationManager | property | core/ |
The tested translation manager. |
| TranslationManagerTest::providerTestFormatPlural | function | core/ |
Provides some test data for formatPlural() |
| TranslationManagerTest::providerTestTranslatePlaceholder | function | core/ |
Provides test data for translate(). |
| TranslationManagerTest::setUp | function | core/ |
|
| TranslationManagerTest::testFormatPlural | function | core/ |
@dataProvider providerTestFormatPlural |
| TranslationManagerTest::testTranslatePlaceholder | function | core/ |
Tests translation using placeholders. |
| TranslationsTest | class | core/ |
Tests media library for translatable media. |
| TranslationsTest.php | file | core/ |
|
| TranslationsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| TranslationsTest::$modules | property | core/ |
Modules to install. |
| TranslationsTest::setUp | function | core/ |
|
| TranslationsTest::testMediaLibraryTranslations | function | core/ |
Tests the media library widget shows all media only once. |
| TranslationStringTest | class | core/ |
Tests the TranslatableMarkup class. |
| TranslationStringTest.php | file | core/ |
|
| TranslationStringTest::$modules | property | core/ |
Modules to install. |
| TranslationStringTest::rebootAndPrepareSettings | function | core/ |
Reboots the kernel to set custom translations in Settings. |
| TranslationStringTest::setUp | function | core/ |
|
| TranslationStringTest::testComparison | function | core/ |
Tests that TranslatableMarkup objects can be compared. |
| TranslationTest | class | core/ |
Tests multilingual fields logic. |
| TranslationTest | class | core/ |
@coversDefaultClass \Drupal\Core\Annotation\Translation[[api-linebreak]] @group Annotation |
| TranslationTest.php | file | core/ |
|
| TranslationTest.php | file | core/ |
|
| TranslationTest::$entityType | property | core/ |
The name of the entity type to use in this test. |
Pagination
- Previous page
- Page 730
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.