You are here

protected function FeedsCommonTrait::absolutePath in Feeds 8.3

Returns the absolute directory path of the Feeds module.

Return value

string The absolute path to the Feeds module.

1 call to FeedsCommonTrait::absolutePath()
FeedsCommonTrait::resourcesPath in tests/src/Traits/FeedsCommonTrait.php
Returns the absolute directory path of the resources folder.

File

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

Class

FeedsCommonTrait
Provides methods useful for Kernel and Functional Feeds tests.

Namespace

Drupal\Tests\feeds\Traits

Code

protected function absolutePath() {
  return $this
    ->absolute() . '/' . drupal_get_path('module', 'feeds');
}