You are here

protected function FeedsCommonTrait::absolute in Feeds 8.3

Returns the absolute path to the Drupal root.

Return value

string The absolute path to the directory where Drupal is installed.

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

File

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

Class

FeedsCommonTrait
Provides methods useful for Kernel and Functional Feeds tests.

Namespace

Drupal\Tests\feeds\Traits

Code

protected function absolute() {
  return realpath(getcwd());
}