function AggregatorTestBase::getHtmlEntitiesSample

1 call to AggregatorTestBase::getHtmlEntitiesSample()
FeedParserTest::testHtmlEntitiesSample in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
Tests a feed that uses HTML entities in item titles.

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php, line 295
Definition of Drupal\aggregator\Tests\AggregatorTestBase.

Class

AggregatorTestBase
Defines a base class for testing aggregator.module.

Namespace

Drupal\aggregator\Tests

Code

function getHtmlEntitiesSample() {
  return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_title_entities.xml';
}