Search for content
- Search 7.x for content
- Search 9.5.x for content
- Search 10.3.x for content
- Search 11.x for content
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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 enable. |
ContentTranslationTestBase::$translator | property | core/ |
The account to be used to test translation operations. |
ContentTranslationTestBase::createEntity | function | core/ |
Creates the entity to be translated. |
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::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::setUp | function | core/ |
Sets up a Drupal site for running functional and integration tests. |
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. |
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/ |
Test 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. |
ContentTranslationUITestBase::getNewEntityValues | function | core/ |
Returns an array of entity field values to be tested. |
ContentTranslationUITestBase::getTranslation | function | core/ |
Returns the translation object to use to retrieve the translated values. |
ContentTranslationUITestBase::getValue | function | core/ |
Returns the value for the specified property in the given language. |
ContentTranslationUITestBase::testTranslationUI | function | core/ |
Tests the basic translation UI. |
ContentTranslationUpdatesManager | class | core/ |
Provides the logic needed to update field storage definitions when needed. |
ContentTranslationUpdatesManager.php | file | core/ |
|
ContentTranslationUpdatesManager::$entityFieldManager | property | core/ |
The entity field manager. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.