You are here

function DrupalSystemInterface::drupalGetPath in X Autoload 7.5

Replacement of drupal_get_path(), but returning an absolute directory path.

Parameters

string $type:

string $name:

Return value

string

See also

drupal_get_path()

2 methods override DrupalSystemInterface::drupalGetPath()
DrupalSystem::drupalGetPath in src/DrupalSystem/DrupalSystem.php
Replacement of drupal_get_path(), but returning an absolute directory path.
MockDrupalSystem::drupalGetPath in tests/src/Mock/MockDrupalSystem.php
Replacement of drupal_get_path(), but returning an absolute directory path.

File

src/DrupalSystem/DrupalSystemInterface.php, line 50

Class

DrupalSystemInterface

Namespace

Drupal\xautoload\DrupalSystem

Code

function drupalGetPath($type, $name);