Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentTranslationTestBase class core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Base class for content translation tests.
ContentTranslationTestBase.php file core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
ContentTranslationTestBase::$administrator property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The account to be used to test access to both workflows.
ContentTranslationTestBase::$bundle property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The bundle being tested.
ContentTranslationTestBase::$controller property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The translation controller for the current entity type.
ContentTranslationTestBase::$editor property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The account to be used to test multilingual entity editing.
ContentTranslationTestBase::$entityTypeId property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The entity type being tested.
ContentTranslationTestBase::$fieldName property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The name of the field used to test translation.
ContentTranslationTestBase::$langcodes property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The added languages.
ContentTranslationTestBase::$manager property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php
ContentTranslationTestBase::$modules property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Modules to enable.
ContentTranslationTestBase::$translator property core/modules/content_translation/src/Tests/ContentTranslationTestBase.php The account to be used to test translation operations.
ContentTranslationTestBase::createEntity function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Creates the entity to be translated.
ContentTranslationTestBase::enableTranslation function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Enables translation for the current entity type and bundle.
ContentTranslationTestBase::getAdministratorPermissions function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Returns an array of permissions needed for the administrator.
ContentTranslationTestBase::getEditorPermissions function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Returns an array of permissions needed for the editor.
ContentTranslationTestBase::getTranslatePermission function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Returns the translate permissions for the current entity and bundle.
ContentTranslationTestBase::getTranslatorPermissions function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Returns an array of permissions needed for the translator.
ContentTranslationTestBase::setUp function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Sets up a Drupal site for running functional and integration tests.
ContentTranslationTestBase::setupBundle function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Creates or initializes the bundle date if needed.
ContentTranslationTestBase::setupLanguages function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Adds additional languages.
ContentTranslationTestBase::setupTestFields function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Creates the test fields.
ContentTranslationTestBase::setupUsers function core/modules/content_translation/src/Tests/ContentTranslationTestBase.php Creates and activates translator, editor and admin users.
ContentTranslationUITestBase class core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the Content Translation UI.
ContentTranslationUITestBase.php file core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
ContentTranslationUITestBase::$defaultCacheContexts property core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Default cache contexts expected on a non-translated entity.
ContentTranslationUITestBase::$entityId property core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php The id of the entity being translated.
ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages property core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Flag to determine if "all languages" rendering is tested.
ContentTranslationUITestBase::$testLanguageSelector property core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Whether the behavior of the language selector should be tested.
ContentTranslationUITestBase::doTestAuthoringInfo function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the translation authoring information.
ContentTranslationUITestBase::doTestBasicTranslation function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the basic translation workflow.
ContentTranslationUITestBase::doTestChangedTimeAfterSaveWithoutChanges function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Test the changed time after API and FORM save without changes.
ContentTranslationUITestBase::doTestOutdatedStatus function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests up-to-date status tracking.
ContentTranslationUITestBase::doTestPublishedStatus function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the translation publishing status.
ContentTranslationUITestBase::doTestTranslationChanged function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the basic translation workflow.
ContentTranslationUITestBase::doTestTranslationDeletion function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests translation deletion.
ContentTranslationUITestBase::doTestTranslationEdit function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests edit content translation.
ContentTranslationUITestBase::doTestTranslationOverview function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests that the translation overview shows the correct values.
ContentTranslationUITestBase::getChangedFieldName function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the name of the field that implements the changed timestamp.
ContentTranslationUITestBase::getEditValues function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns an edit array containing the values to be posted.
ContentTranslationUITestBase::getFormSubmitAction function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the form action value to be used to submit the entity form.
ContentTranslationUITestBase::getFormSubmitActionForNewTranslation function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the form action value when submitting a new translation.
ContentTranslationUITestBase::getFormSubmitSuffix function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns appropriate submit button suffix based on translatability.
ContentTranslationUITestBase::getNewEntityValues function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns an array of entity field values to be tested.
ContentTranslationUITestBase::getTranslation function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the translation object to use to retrieve the translated values.
ContentTranslationUITestBase::getValue function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Returns the value for the specified property in the given language.
ContentTranslationUITestBase::testTranslationUI function core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Tests the basic translation UI.
ContentTranslationUpdatesManager class core/modules/content_translation/src/ContentTranslationUpdatesManager.php Provides the logic needed to update field storage definitions when needed.
ContentTranslationUpdatesManager.php file core/modules/content_translation/src/ContentTranslationUpdatesManager.php
ContentTranslationUpdatesManager::$entityFieldManager property core/modules/content_translation/src/ContentTranslationUpdatesManager.php The entity field manager.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.