You are here

public function LanguageLocalTasksTest::testLanguageEditLocalTasks in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::testLanguageEditLocalTasks()

Tests language edit local tasks existence.

File

core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php, line 43

Class

LanguageLocalTasksTest
Tests existence of language local tasks.

Namespace

Drupal\Tests\language\Unit\Menu

Code

public function testLanguageEditLocalTasks() {
  $this
    ->assertLocalTasks('entity.configurable_language.edit_form', [
    0 => [
      'entity.configurable_language.edit_form',
    ],
  ]);
}