Search for trans
| Title | Object type | File name | Summary |
|---|---|---|---|
| ContentTranslationSyncImageTest.php | file | core/ |
|
| ContentTranslationSyncImageTest::$cardinality | property | core/ |
The cardinality of the image field. |
| ContentTranslationSyncImageTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ContentTranslationSyncImageTest::$files | property | core/ |
The test image files. |
| ContentTranslationSyncImageTest::$modules | property | core/ |
Modules to install. |
| ContentTranslationSyncImageTest::getEditorPermissions | function | core/ |
Returns an array of permissions needed for the editor. |
| ContentTranslationSyncImageTest::saveEntity | function | core/ |
Saves the passed entity and reloads it, enabling compatibility mode. |
| ContentTranslationSyncImageTest::setUp | function | core/ |
|
| ContentTranslationSyncImageTest::setupTestFields | function | core/ |
Creates the test image field. |
| ContentTranslationSyncImageTest::testImageFieldSync | function | core/ |
Tests image field synchronization. |
| ContentTranslationSyncUnitTest | class | core/ |
Tests the field synchronization logic. |
| ContentTranslationSyncUnitTest.php | file | core/ |
|
| ContentTranslationSyncUnitTest::$cardinality | property | core/ |
The field cardinality. |
| ContentTranslationSyncUnitTest::$columns | property | core/ |
All the field columns. |
| ContentTranslationSyncUnitTest::$langcodes | property | core/ |
The available language codes. |
| ContentTranslationSyncUnitTest::$modules | property | core/ |
Modules to install. |
| ContentTranslationSyncUnitTest::$synchronized | property | core/ |
The columns to be synchronized. |
| ContentTranslationSyncUnitTest::$synchronizer | property | core/ |
The synchronizer class to be tested. |
| ContentTranslationSyncUnitTest::$unchangedFieldValues | property | core/ |
The unchanged field values. |
| ContentTranslationSyncUnitTest::setUp | function | core/ |
|
| ContentTranslationSyncUnitTest::testDifferingSyncedColumns | function | core/ |
Tests that one change in a synchronized column triggers a change in all columns. |
| ContentTranslationSyncUnitTest::testFieldSync | function | core/ |
Tests the field synchronization algorithm. |
| ContentTranslationSyncUnitTest::testMultipleSyncedValues | function | core/ |
Tests that items holding the same values are correctly synchronized. |
| ContentTranslationTestBase | class | core/ |
Base class for content translation tests. |
| ContentTranslationTestBase.php | file | core/ |
|
| ContentTranslationTestBase::$administrator | property | core/ |
The account to be used to test access to both workflows. |
| ContentTranslationTestBase::$bundle | property | core/ |
The bundle being tested. |
| ContentTranslationTestBase::$controller | property | core/ |
The translation controller for the current entity type. |
| ContentTranslationTestBase::$editor | property | core/ |
The account to be used to test multilingual entity editing. |
| ContentTranslationTestBase::$entityTypeId | property | core/ |
The entity type being tested. |
| ContentTranslationTestBase::$fieldName | property | core/ |
The name of the field used to test translation. |
| ContentTranslationTestBase::$langcodes | property | core/ |
The added languages. |
| ContentTranslationTestBase::$manager | property | core/ |
|
| ContentTranslationTestBase::$modules | property | core/ |
Modules to install. |
| ContentTranslationTestBase::$translator | property | core/ |
The account to be used to test translation operations. |
| ContentTranslationTestBase::createEntity | function | core/ |
Creates the entity to be translated. |
| ContentTranslationTestBase::doSetup | function | core/ |
Completes preparation for content translation tests. |
| ContentTranslationTestBase::enableTranslation | function | core/ |
Enables translation for the current entity type and bundle. |
| ContentTranslationTestBase::getAdministratorPermissions | function | core/ |
Returns an array of permissions needed for the administrator. |
| ContentTranslationTestBase::getEditorPermissions | function | core/ |
Returns an array of permissions needed for the editor. |
| ContentTranslationTestBase::getEditUrl | function | core/ |
Returns the edit URL for the specified entity. |
| ContentTranslationTestBase::getTranslatePermission | function | core/ |
Returns the translate permissions for the current entity and bundle. |
| ContentTranslationTestBase::getTranslatorPermissions | function | core/ |
Returns an array of permissions needed for the translator. |
| ContentTranslationTestBase::setupBundle | function | core/ |
Creates or initializes the bundle date if needed. |
| ContentTranslationTestBase::setupLanguages | function | core/ |
Adds additional languages. |
| ContentTranslationTestBase::setupTestFields | function | core/ |
Creates the test fields. |
| ContentTranslationTestBase::setupUsers | function | core/ |
Creates and activates translator, editor and admin users. |
| ContentTranslationTestTrait | trait | core/ |
Provides an API to programmatically manage content translation in tests. |
| ContentTranslationTestTrait.php | file | core/ |
|
| ContentTranslationTestTrait::enableContentTranslation | function | core/ |
Enables content translation for the given entity type bundle. |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.