public function ThemeHandlerInterface::getThemeDirectories in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
- 9 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 127
Class
- ThemeHandlerInterface
- Manages the list of available themes.
Namespace
Drupal\Core\ExtensionCode
public function getThemeDirectories();