function ThemeHandlerInterface::getThemeDirectories
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
- 10 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
- 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\ExtensionCode
public function getThemeDirectories();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.