Backup of db before drupal security update
[yaffs-website] / web / core / modules / content_translation / src / Tests / ContentTestTranslationUITest.php
1 <?php
2
3 namespace Drupal\content_translation\Tests;
4
5 /**
6  * Tests the test content translation UI with the test entity.
7  *
8  * @group content_translation
9  */
10 class ContentTestTranslationUITest extends ContentTranslationUITestBase {
11
12   /**
13    * {@inheritdoc}
14    */
15   protected $testHTMLEscapeForAllLanguages = TRUE;
16
17   /**
18    * Modules to enable.
19    *
20    * @var array
21    */
22   public static $modules = ['language', 'content_translation', 'entity_test'];
23
24   /**
25    * {@inheritdoc}
26    */
27   protected function setUp() {
28     // Use the entity_test_mul as this has multilingual property support.
29     $this->entityTypeId = 'entity_test_mul_changed';
30     parent::setUp();
31   }
32
33   /**
34    * {@inheritdoc}
35    */
36   protected function getTranslatorPermissions() {
37     return array_merge(parent::getTranslatorPermissions(), ['administer entity_test content', 'view test entity']);
38   }
39
40 }