public function BlockLocalTasksTest::testBlockAdminLocalTasks in Drupal 8
Same name and namespace in other branches
- 9 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 65
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',
],
]);
}