| ContentTranslationTestBase |
class |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Base class for content translation tests. |
| ContentTranslationTestBase.php |
file |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
|
| ContentTranslationTestBase::$administrator |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The account to be used to test access to both workflows. |
| ContentTranslationTestBase::$bundle |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The bundle being tested. |
| ContentTranslationTestBase::$controller |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The translation controller for the current entity type. |
| ContentTranslationTestBase::$editor |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The account to be used to test multilingual entity editing. |
| ContentTranslationTestBase::$entityTypeId |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The entity type being tested. |
| ContentTranslationTestBase::$fieldName |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The name of the field used to test translation. |
| ContentTranslationTestBase::$langcodes |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The added languages. |
| ContentTranslationTestBase::$manager |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
|
| ContentTranslationTestBase::$modules |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Modules to install. |
| ContentTranslationTestBase::$translator |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
The account to be used to test translation operations. |
| ContentTranslationTestBase::createEntity |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Creates the entity to be translated. |
| ContentTranslationTestBase::doSetup |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Completes preparation for content translation tests. |
| ContentTranslationTestBase::enableTranslation |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Enables translation for the current entity type and bundle. |
| ContentTranslationTestBase::getAdministratorPermissions |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Returns an array of permissions needed for the administrator. |
| ContentTranslationTestBase::getEditorPermissions |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Returns an array of permissions needed for the editor. |
| ContentTranslationTestBase::getEditUrl |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Returns the edit URL for the specified entity. |
| ContentTranslationTestBase::getTranslatePermission |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Returns the translate permissions for the current entity and bundle. |
| ContentTranslationTestBase::getTranslatorPermissions |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Returns an array of permissions needed for the translator. |
| ContentTranslationTestBase::setupBundle |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Creates or initializes the bundle date if needed. |
| ContentTranslationTestBase::setupLanguages |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Adds additional languages. |
| ContentTranslationTestBase::setupTestFields |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Creates the test fields. |
| ContentTranslationTestBase::setupUsers |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php |
Creates and activates translator, editor and admin users. |
| ContentTranslationTestHooks |
class |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Hook implementations for content_translation_test. |
| ContentTranslationTestHooks.php |
file |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
|
| ContentTranslationTestHooks::entityAccess |
function |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Implements hook_entity_access(). |
| ContentTranslationTestHooks::entityBundleInfoAlter |
function |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Implements hook_entity_bundle_info_alter(). |
| ContentTranslationTestHooks::entityTranslationDelete |
function |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Implements hook_entity_translation_delete(). |
| ContentTranslationTestHooks::formNodeFormAlter |
function |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Implements hook_form_BASE_FORM_ID_alter(). |
| ContentTranslationTestHooks::formNodeFormSubmit |
function |
core/modules/content_translation/tests/modules/content_translation_test/src/Hook/ContentTranslationTestHooks.php |
Form submission handler for custom field added based on a request parameter. |
| ContentTranslationTestTrait |
trait |
core/modules/content_translation/tests/src/Traits/ContentTranslationTestTrait.php |
Provides an API to programmatically manage content translation in tests. |
| ContentTranslationTestTrait.php |
file |
core/modules/content_translation/tests/src/Traits/ContentTranslationTestTrait.php |
|
| ContentTranslationTestTrait::enableContentTranslation |
function |
core/modules/content_translation/tests/src/Traits/ContentTranslationTestTrait.php |
Enables content translation for the given entity type bundle. |
| ContentTranslationUISkipTest |
class |
core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php |
Tests the content translation UI check skip. |
| ContentTranslationUISkipTest.php |
file |
core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php |
|
| ContentTranslationUISkipTest::$defaultTheme |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php |
The theme to install as the default for testing. |
| ContentTranslationUISkipTest::$modules |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php |
Modules to install. |
| ContentTranslationUISkipTest::testUICheckSkip |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUISkipTest.php |
Tests the content_translation_ui_skip key functionality. |
| ContentTranslationUITestBase |
class |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests the Content Translation UI. |
| ContentTranslationUITestBase.php |
file |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
|
| ContentTranslationUITestBase::$defaultCacheContexts |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Default cache contexts expected on a non-translated entity. |
| ContentTranslationUITestBase::$entityId |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
The id of the entity being translated. |
| ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Flag to determine if "all languages" rendering is tested. |
| ContentTranslationUITestBase::$testLanguageSelector |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Whether the behavior of the language selector should be tested. |
| ContentTranslationUITestBase::doTestAuthoringInfo |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests the translation authoring information. |
| ContentTranslationUITestBase::doTestBasicTranslation |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests the basic translation workflow. |
| ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests the changed time after API and FORM save without changes. |
| ContentTranslationUITestBase::doTestOutdatedStatus |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests up-to-date status tracking. |
| ContentTranslationUITestBase::doTestPublishedStatus |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php |
Tests the translation publishing status. |