public function FieldUIRouteTest::assertLocalTasks in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
- 9 core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
Asserts that local tasks exists.
@internal
File
- core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php, line 114
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');
}