function FieldUIRouteTest::assertLocalTasks
Asserts that local tasks exists.
@internal
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 125
Class
- FieldUIRouteTest
- Tests the functionality of the Field UI route subscriber.
Namespace
Drupal\Tests\field_ui\FunctionalCode
public function assertLocalTasks() : void {
$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.