function AggregatorTestBase::getRSS091Sample

Returns an example RSS091 feed.

Return value

string Path to the feed.

File

core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php, line 358

Class

AggregatorTestBase
Defines a base class for testing the Aggregator module.

Namespace

Drupal\Tests\aggregator\Functional

Code

public function getRSS091Sample() {
  return $GLOBALS['base_url'] . '/' . $this->getModulePath('aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml';
}

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