You are here

public function Framework::getPath in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getPath()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getPath()

Gets the path to a module or theme.

Overrides FrameworkInterface::getPath

1 method overrides Framework::getPath()
Drupal8::getPath in api/src/Framework/Drupal8.php
Gets the path to a module or theme.

File

api/src/Framework/Framework.php, line 187

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function getPath($type, $name) {
  return $this
    ->implementor()
    ->getPath($type, $name);
}