function AggregatorLocalTasksTest::testAggregatorAdminLocalTasks

Tests local task existence.

@dataProvider getAggregatorAdminRoutes

File

core/modules/aggregator/tests/src/Unit/Menu/AggregatorLocalTasksTest.php, line 28

Class

AggregatorLocalTasksTest
Tests existence of aggregator local tasks.

Namespace

Drupal\Tests\aggregator\Unit\Menu

Code

public function testAggregatorAdminLocalTasks($route) {
  $this->assertLocalTasks($route, [
    0 => [
      'aggregator.admin_overview',
      'aggregator.admin_settings',
    ],
  ]);
}

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