function FieldUIRouteTest::assertLocalTasks
Same name in other branches
- 9 core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
- 10 core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
- 11.x core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
Asserts that local tasks exists.
1 call to FieldUIRouteTest::assertLocalTasks()
- FieldUIRouteTest::testFieldUIRoutes in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php - Ensures that entity types with bundles do not break following entity types.
File
-
core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php, line 109
Class
- FieldUIRouteTest
- Tests the functionality of the Field UI route subscriber.
Namespace
Drupal\Tests\field_ui\FunctionalCode
public function assertLocalTasks() {
$this->assertSession()
->linkExists('Settings');
$this->assertSession()
->linkExists('Manage fields');
$this->assertSession()
->linkExists('Manage display');
$this->assertSession()
->linkExists('Manage form display');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.