function ActionLocalTasksTest::testActionLocalTasks
Tests local task existence.
File
- 
              core/
modules/ action/ tests/ src/ Unit/ Menu/ ActionLocalTasksTest.php, line 25  
Class
- ActionLocalTasksTest
 - Tests action local tasks.
 
Namespace
Drupal\Tests\action\Unit\MenuCode
public function testActionLocalTasks() {
  $this->assertLocalTasks('entity.action.collection', [
    [
      'action.admin',
    ],
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.