function ThemeHandlerInterface::getThemeDirectories

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
  2. 10 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
  3. 11.x core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()

Returns an array of directories for all installed themes.

Useful for tasks such as finding a file that exists in all theme directories.

Return value

array

1 method overrides ThemeHandlerInterface::getThemeDirectories()
ThemeHandler::getThemeDirectories in core/lib/Drupal/Core/Extension/ThemeHandler.php
Returns an array of directories for all installed themes.

File

core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 187

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function getThemeDirectories();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.