function AggregatorLocalTasksTest::testAggregatorSourceLocalTasks

Same name in other branches
  1. 8.9.x 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 49

Class

AggregatorLocalTasksTest
Tests existence of aggregator local tasks.

Namespace

Drupal\Tests\aggregator\Unit\Menu

Code

public function testAggregatorSourceLocalTasks($route) {
    $this->assertLocalTasks($route, [
        0 => [
            'entity.aggregator_feed.canonical',
            'entity.aggregator_feed.edit_form',
            'entity.aggregator_feed.delete_form',
        ],
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.