You are here

protected function RendererBase::getThemePath in Entity Print 8

Get the path to a theme.

Parameters

string $theme: The name of the theme.

Return value

string The Drupal path to the theme.

1 call to RendererBase::getThemePath()
RendererBase::addCss in src/Renderer/RendererBase.php
Inject the relevant css for the template.

File

src/Renderer/RendererBase.php, line 137

Class

RendererBase
The RendererBase class.

Namespace

Drupal\entity_print\Renderer

Code

protected function getThemePath($theme) {
  return drupal_get_path('theme', $theme);
}