public function AggregatorTestBase::getHtmlEntitiesSample in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Tests/AggregatorTestBase.php \Drupal\aggregator\Tests\AggregatorTestBase::getHtmlEntitiesSample()
Returns a example feed.
Return value
string Path to the feed.
1 call to AggregatorTestBase::getHtmlEntitiesSample()
- FeedParserTest::testHtmlEntitiesSample in core/
modules/ aggregator/ src/ Tests/ FeedParserTest.php - Tests a feed that uses HTML entities in item titles.
File
- core/
modules/ aggregator/ src/ Tests/ AggregatorTestBase.php, line 345 - Contains \Drupal\aggregator\Tests\AggregatorTestBase.
Class
- AggregatorTestBase
- Defines a base class for testing the Aggregator module.
Namespace
Drupal\aggregator\TestsCode
public function getHtmlEntitiesSample() {
return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_title_entities.xml';
}