public function ActionLocalTasksTest::testActionLocalTasks in Drupal 10
Same name and namespace in other branches
- 8 core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php \Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest::testActionLocalTasks()
- 9 core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php \Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest::testActionLocalTasks()
Tests local task existence.
File
- core/
modules/ action/ tests/ src/ Unit/ Menu/ ActionLocalTasksTest.php, line 22
Class
- ActionLocalTasksTest
- Tests action local tasks.
Namespace
Drupal\Tests\action\Unit\MenuCode
public function testActionLocalTasks() {
$this
->assertLocalTasks('entity.action.collection', [
[
'action.admin',
],
]);
}