| ContentTranslationMetadataFieldsTest::setupBundle |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php |
Creates or initializes the bundle date if needed. |
| ContentTranslationMetadataFieldsTest::testSetTranslatable |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php |
Tests setting translatable metadata fields. |
| ContentTranslationMetadataFieldsTest::testSkipUntranslatable |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php |
Tests skipping setting non translatable metadata fields. |
| ContentTranslationMetadataWrapper |
class |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Base class for content translation metadata wrappers. |
| ContentTranslationMetadataWrapper.php |
file |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
|
| ContentTranslationMetadataWrapper::$handler |
property |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
The content translation handler. |
| ContentTranslationMetadataWrapper::$translation |
property |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
The wrapped entity translation. |
| ContentTranslationMetadataWrapper::getAuthor |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Returns the translation author. |
| ContentTranslationMetadataWrapper::getChangedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Returns the timestamp of the last entity change from current translation. |
| ContentTranslationMetadataWrapper::getCreatedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Returns the translation creation timestamp. |
| ContentTranslationMetadataWrapper::getSource |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Retrieves the source language for this translation. |
| ContentTranslationMetadataWrapper::isOutdated |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Returns the translation outdated status. |
| ContentTranslationMetadataWrapper::isPublished |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Returns the translation published status. |
| ContentTranslationMetadataWrapper::setAuthor |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the translation author. |
| ContentTranslationMetadataWrapper::setChangedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the translation modification timestamp. |
| ContentTranslationMetadataWrapper::setCreatedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the translation creation timestamp. |
| ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Updates a field value, only if the field is translatable. |
| ContentTranslationMetadataWrapper::setOutdated |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the translation outdated status. |
| ContentTranslationMetadataWrapper::setPublished |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the translation published status. |
| ContentTranslationMetadataWrapper::setSource |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Sets the source language for this translation. |
| ContentTranslationMetadataWrapper::__construct |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapper.php |
Initializes an instance of the content translation metadata handler. |
| ContentTranslationMetadataWrapperInterface |
interface |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Common interface for content translation metadata wrappers. |
| ContentTranslationMetadataWrapperInterface.php |
file |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
|
| ContentTranslationMetadataWrapperInterface::getAuthor |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Returns the translation author. |
| ContentTranslationMetadataWrapperInterface::getChangedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Returns the timestamp of the last entity change from current translation. |
| ContentTranslationMetadataWrapperInterface::getCreatedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Returns the translation creation timestamp. |
| ContentTranslationMetadataWrapperInterface::getSource |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Retrieves the source language for this translation. |
| ContentTranslationMetadataWrapperInterface::isOutdated |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Returns the translation outdated status. |
| ContentTranslationMetadataWrapperInterface::isPublished |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Returns the translation published status. |
| ContentTranslationMetadataWrapperInterface::setAuthor |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the translation author. |
| ContentTranslationMetadataWrapperInterface::setChangedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the translation modification timestamp. |
| ContentTranslationMetadataWrapperInterface::setCreatedTime |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the translation creation timestamp. |
| ContentTranslationMetadataWrapperInterface::setOutdated |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the translation outdated status. |
| ContentTranslationMetadataWrapperInterface::setPublished |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the translation published status. |
| ContentTranslationMetadataWrapperInterface::setSource |
function |
core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php |
Sets the source language for this translation. |
| ContentTranslationModuleInstallTest |
class |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
Tests content translation for modules that provide translatable bundles. |
| ContentTranslationModuleInstallTest.php |
file |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
|
| ContentTranslationModuleInstallTest::$contentTranslationManager |
property |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
The content translation manager. |
| ContentTranslationModuleInstallTest::$modules |
property |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
Modules to install. |
| ContentTranslationModuleInstallTest::$sourceLangcode |
property |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
The language code of the source language for this test. |
| ContentTranslationModuleInstallTest::$translationLangcode |
property |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
The language code of the translation language for this test. |
| ContentTranslationModuleInstallTest::setUp |
function |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
|
| ContentTranslationModuleInstallTest::testFieldUpdates |
function |
core/modules/content_translation/tests/src/Kernel/ContentTranslationModuleInstallTest.php |
Tests that content translation fields are created upon module installation. |
| ContentTranslationNewTranslationWithExistingRevisionsTest |
class |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
Tests that new translations do not delete existing ones. |
| ContentTranslationNewTranslationWithExistingRevisionsTest.php |
file |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
|
| ContentTranslationNewTranslationWithExistingRevisionsTest::$defaultTheme |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
The theme to install as the default for testing. |
| ContentTranslationNewTranslationWithExistingRevisionsTest::$modules |
property |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
Modules to install. |
| ContentTranslationNewTranslationWithExistingRevisionsTest::setUp |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
|
| ContentTranslationNewTranslationWithExistingRevisionsTest::testCreatingNewDraftDoesNotInvokeDeleteHook |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
Test translation delete hooks are not invoked. |
| ContentTranslationNewTranslationWithExistingRevisionsTest::testDraftTranslationIsNotDeleted |
function |
core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php |
Tests a translation with a draft is not deleted. |