function BlockLocalTasksTest::testBlockAdminLocalTasks
Same name in other branches
- 8.9.x core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminLocalTasks()
- 10 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 68
Class
- BlockLocalTasksTest
- Tests block local tasks.
Namespace
Drupal\Tests\block\Unit\MenuCode
public function testBlockAdminLocalTasks() {
$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.