function BlockLocalTasksTest::testBlockAdminLocalTasks
Same name in other branches
- 9 core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminLocalTasks()
- 8.9.x core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminLocalTasks()
- 11.x core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminLocalTasks()
Tests the admin edit local task.
File
-
core/
modules/ block/ tests/ src/ Unit/ Menu/ BlockLocalTasksTest.php, line 70
Class
- BlockLocalTasksTest
- Tests block local tasks.
Namespace
Drupal\Tests\block\Unit\MenuCode
public function testBlockAdminLocalTasks() : void {
$this->assertLocalTasks('entity.block.edit_form', [
[
'entity.block.edit_form',
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.