function AggregatorLocalTasksTest::getAggregatorSourceRoutes

Same name in other branches
  1. 8.9.x core/modules/aggregator/tests/src/Unit/Menu/AggregatorLocalTasksTest.php \Drupal\Tests\aggregator\Unit\Menu\AggregatorLocalTasksTest::getAggregatorSourceRoutes()

Provides a list of source routes to test.

File

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

Class

AggregatorLocalTasksTest
Tests existence of aggregator local tasks.

Namespace

Drupal\Tests\aggregator\Unit\Menu

Code

public function getAggregatorSourceRoutes() {
    return [
        [
            'entity.aggregator_feed.canonical',
        ],
        [
            'entity.aggregator_feed.edit_form',
        ],
    ];
}

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