function ConfigTranslationListUiTest::testTranslateOperationInListUi

Same name and namespace in other branches
  1. 9 core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationListUiTest::testTranslateOperationInListUi()
  2. 8.9.x core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationListUiTest::testTranslateOperationInListUi()
  3. 11.x core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationListUiTest::testTranslateOperationInListUi()

Tests if translate link is added to operations in all configuration lists.

File

core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php, line 496

Class

ConfigTranslationListUiTest
Visit all lists.

Namespace

Drupal\Tests\config_translation\Functional

Code

public function testTranslateOperationInListUi() : void {
  // All lists based on paths provided by the module.
  $this->doBlockListTest();
  $this->doMenuListTest();
  $this->doVocabularyListTest();
  $this->doCustomContentTypeListTest();
  $this->doContactFormsListTest();
  $this->doContentTypeListTest();
  $this->doFormatsListTest();
  $this->doShortcutListTest();
  $this->doUserRoleListTest();
  $this->doLanguageListTest();
  $this->doImageStyleListTest();
  $this->doResponsiveImageListTest();
  $this->doDateFormatListTest();
  $this->doFieldListTest();
  // Views is tested in Drupal\config_translation\Tests\ConfigTranslationViewListUiTest
  // Test the maintenance settings page.
  $this->doSettingsPageTest('admin/config/development/maintenance');
  // Test the site information settings page.
  $this->doSettingsPageTest('admin/config/system/site-information');
  // Test the account settings page.
  $this->doSettingsPageTest('admin/config/people/accounts');
}

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