Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::getThemeDirectories()
  2. 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

File

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

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function getThemeDirectories();