You are here

protected function FeedsCommonTrait::resourcesUrl in Feeds 8.3

Returns the url to the Feeds resources directory.

Return value

string The url to the Feeds resources directory.

18 calls to FeedsCommonTrait::resourcesUrl()
CronTest::test in tests/src/Functional/CronTest.php
Tests importing through cron.
CronTest::testDeleteFeedTypeForWhichImportIsScheduled in tests/src/Functional/CronTest.php
Tests that a cron run does not fail after deleting a feed type.
CsvParserTest::testMapCustomSource in tests/src/FunctionalJavascript/Feeds/Parser/CsvParserTest.php
Tests adding a custom mapping source.
DeleteFeedTest::test in tests/src/Functional/Plugin/Action/DeleteFeedTest.php
Tests applying action "feeds_feed_delete_action" on feed entities.
FeedListBuilderTest::testUi in tests/src/Functional/FeedListBuilderTest.php
Tests the feed listing page with admin privileges.

... See full list

File

tests/src/Traits/FeedsCommonTrait.php, line 174

Class

FeedsCommonTrait
Provides methods useful for Kernel and Functional Feeds tests.

Namespace

Drupal\Tests\feeds\Traits

Code

protected function resourcesUrl() {
  return \Drupal::request()
    ->getSchemeAndHttpHost() . '/' . drupal_get_path('module', 'feeds') . '/tests/resources';
}