Search for content
- Search 7.x for content
- Search 9.5.x for content
- Search 8.9.x for content
- Search 10.3.x for content
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
ContentTranslationTestHooks | class | core/ |
Hook implementations for content_translation_test. |
ContentTranslationTestHooks.php | file | core/ |
|
ContentTranslationTestHooks::entityAccess | function | core/ |
Implements hook_entity_access(). |
ContentTranslationTestHooks::entityBundleInfoAlter | function | core/ |
Implements hook_entity_bundle_info_alter(). |
ContentTranslationTestHooks::entityTranslationDelete | function | core/ |
Implements hook_entity_translation_delete(). |
ContentTranslationTestHooks::formNodeFormAlter | function | core/ |
Implements hook_form_BASE_FORM_ID_alter(). |
ContentTranslationTestTrait | trait | core/ |
Provides an API to programmatically manage content translation in tests. |
Pagination
- Previous page
- Page 42
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.