protected function ContentTranslationTestBase::getEditorPermissions in Drupal 8
Same name in this branch
- 8 core/modules/content_translation/src/Tests/ContentTranslationTestBase.php \Drupal\content_translation\Tests\ContentTranslationTestBase::getEditorPermissions()
- 8 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getEditorPermissions()
Same name and namespace in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getEditorPermissions()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationTestBase::getEditorPermissions()
Returns an array of permissions needed for the editor.
2 calls to ContentTranslationTestBase::getEditorPermissions()
- ContentTranslationTestBase::getAdministratorPermissions in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationTestBase.php - Returns an array of permissions needed for the administrator.
- ContentTranslationTestBase::setupUsers in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationTestBase.php - Creates and activates translator, editor and admin users.
5 methods override ContentTranslationTestBase::getEditorPermissions()
- ContentTranslationPendingRevisionTestBase::getEditorPermissions in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationPendingRevisionTestBase.php - Returns an array of permissions needed for the editor.
- ContentTranslationSyncImageTest::getEditorPermissions in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSyncImageTest.php - Returns an array of permissions needed for the editor.
- ContentTranslationWorkflowsTest::getEditorPermissions in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationWorkflowsTest.php - Returns an array of permissions needed for the editor.
- MediaTranslationUITest::getEditorPermissions in core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php - Returns an array of permissions needed for the editor.
- NodeTranslationUITest::getEditorPermissions in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Returns an array of permissions needed for the editor.
File
- core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationTestBase.php, line 133
Class
- ContentTranslationTestBase
- Base class for content translation tests.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function getEditorPermissions() {
// Every entity-type-specific test needs to define these.
return [];
}