function 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.