You are here

protected function FeedsExCommonTrait::absolute in Feeds extensible parsers 8

Returns the absolute path to the Drupal root.

Return value

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

1 call to FeedsExCommonTrait::absolute()
FeedsExCommonTrait::absolutePath in tests/src/Traits/FeedsExCommonTrait.php
Returns the absolute directory path of the Feed Extensible parsers module.

File

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

Class

FeedsExCommonTrait
Provides methods useful for Kernel and Functional tests.

Namespace

Drupal\Tests\feeds_ex\Traits

Code

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