public function AggregatorLocalTasksTest::testAggregatorSourceLocalTasks in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/tests/src/Unit/Menu/AggregatorLocalTasksTest.php \Drupal\Tests\aggregator\Unit\Menu\AggregatorLocalTasksTest::testAggregatorSourceLocalTasks()
Checks aggregator source tasks.
@dataProvider getAggregatorSourceRoutes
File
- core/
modules/ aggregator/ tests/ src/ Unit/ Menu/ AggregatorLocalTasksTest.php, line 48
Class
- AggregatorLocalTasksTest
- Tests existence of aggregator local tasks.
Namespace
Drupal\Tests\aggregator\Unit\MenuCode
public function testAggregatorSourceLocalTasks($route) {
$this
->assertLocalTasks($route, [
0 => [
'entity.aggregator_feed.canonical',
'entity.aggregator_feed.edit_form',
'entity.aggregator_feed.delete_form',
],
]);
}