Search for trans
- Search 7.x for trans
- Search 9.5.x for trans
- Search 8.9.x for trans
- Search 10.3.x for trans
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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. |
ContentTranslationTestTrait.php | file | core/ |
|
ContentTranslationTestTrait::enableContentTranslation | function | core/ |
Enables content translation for the given entity type bundle. |
ContentTranslationUISkipTest | class | core/ |
Tests the content translation UI check skip. |
ContentTranslationUISkipTest.php | file | core/ |
|
ContentTranslationUISkipTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ContentTranslationUISkipTest::$modules | property | core/ |
Modules to install. |
ContentTranslationUISkipTest::testUICheckSkip | function | core/ |
Tests the content_translation_ui_skip key functionality. |
ContentTranslationUITestBase | class | core/ |
Tests the Content Translation UI. |
ContentTranslationUITestBase.php | file | core/ |
|
ContentTranslationUITestBase::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
ContentTranslationUITestBase::$entityId | property | core/ |
The id of the entity being translated. |
ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages | property | core/ |
Flag to determine if "all languages" rendering is tested. |
ContentTranslationUITestBase::$testLanguageSelector | property | core/ |
Whether the behavior of the language selector should be tested. |
ContentTranslationUITestBase::doTestAuthoringInfo | function | core/ |
Tests the translation authoring information. |
ContentTranslationUITestBase::doTestBasicTranslation | function | core/ |
Tests the basic translation workflow. |
ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges | function | core/ |
Tests the changed time after API and FORM save without changes. |
ContentTranslationUITestBase::doTestOutdatedStatus | function | core/ |
Tests up-to-date status tracking. |
ContentTranslationUITestBase::doTestPublishedStatus | function | core/ |
Tests the translation publishing status. |
ContentTranslationUITestBase::doTestTranslationChanged | function | core/ |
Tests the basic translation workflow. |
ContentTranslationUITestBase::doTestTranslationDeletion | function | core/ |
Tests translation deletion. |
ContentTranslationUITestBase::doTestTranslationEdit | function | core/ |
Tests edit content translation. |
ContentTranslationUITestBase::doTestTranslationOverview | function | core/ |
Tests that the translation overview shows the correct values. |
ContentTranslationUITestBase::getChangedFieldName | function | core/ |
Returns the name of the field that implements the changed timestamp. |
ContentTranslationUITestBase::getEditValues | function | core/ |
Returns an edit array containing the values to be posted. |
ContentTranslationUITestBase::getFormSubmitAction | function | core/ |
Returns the form action value to be used to submit the entity form. |
ContentTranslationUITestBase::getFormSubmitActionForNewTranslation | function | core/ |
Returns the form action value when submitting a new translation. |
ContentTranslationUITestBase::getFormSubmitSuffix | function | core/ |
Returns appropriate submit button suffix based on translatability. |
Pagination
- Previous page
- Page 21
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.