You are here

public function FieldUIRouteTest::assertLocalTasks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Tests/FieldUIRouteTest.php \Drupal\field_ui\Tests\FieldUIRouteTest::assertLocalTasks()

Asserts that local tasks exists.

1 call to FieldUIRouteTest::assertLocalTasks()
FieldUIRouteTest::testFieldUIRoutes in core/modules/field_ui/src/Tests/FieldUIRouteTest.php
Ensures that entity types with bundles do not break following entity types.

File

core/modules/field_ui/src/Tests/FieldUIRouteTest.php, line 109
Contains \Drupal\field_ui\Tests\FieldUIRouteTest.

Class

FieldUIRouteTest
Tests the functionality of the Field UI route subscriber.

Namespace

Drupal\field_ui\Tests

Code

public function assertLocalTasks() {
  $this
    ->assertLink('Settings');
  $this
    ->assertLink('Manage fields');
  $this
    ->assertLink('Manage display');
  $this
    ->assertLink('Manage form display');
}