function TrackerLegacyTest::testDeprecatedTrackerPage

@expectedDeprecation tracker_page is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\tracker\Controller\TrackerController::buildContent() instead. See https://www.drupal.org/node/3030645

File

core/modules/tracker/tests/src/Kernel/TrackerLegacyTest.php, line 39

Class

TrackerLegacyTest
@group tracker @group legacy

Namespace

Drupal\Tests\tracker\Kernel

Code

public function testDeprecatedTrackerPage() {
    module_load_include('inc', 'tracker', 'tracker.pages');
    $this->assertNotEmpty(tracker_page());
}

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