You are here

protected function FeedsExCommonTrait::resourcesUrl in Feeds extensible parsers 8

Returns the url to the Feeds Extensible parsers resources directory.

Return value

string The url to the Feeds resources directory.

10 calls to FeedsExCommonTrait::resourcesUrl()
FeedTypeEditFormTest::testFeedTypeEdit in tests/src/Functional/FeedTypeEditFormTest.php
Tests if configuration is preserved after saving the feed type form.
HtmlParserTest::testMapCustomSource in tests/src/FunctionalJavascript/Feeds/Parser/HtmlParserTest.php
Tests adding a custom mapping source.
JmesPathLinesParserTest::testMapCustomSource in tests/src/FunctionalJavascript/Feeds/Parser/JmesPathLinesParserTest.php
Tests adding a custom mapping source.
JmesPathParserTest::testImportWithInvalidExpression in tests/src/Functional/Feeds/Parser/JmesPathParserTest.php
Tests an import with an invalid source expression.
JmesPathParserTest::testMapCustomSource in tests/src/FunctionalJavascript/Feeds/Parser/JmesPathParserTest.php
Tests adding a custom mapping source.

... See full list

File

tests/src/Traits/FeedsExCommonTrait.php, line 38

Class

FeedsExCommonTrait
Provides methods useful for Kernel and Functional tests.

Namespace

Drupal\Tests\feeds_ex\Traits

Code

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