public ThemeInstallerInterface::install(array $theme_list, $install_dependencies = TRUE)
Installs a given list of themes.
array $theme_list: An array of theme names.
bool $install_dependencies: (optional) If TRUE, dependencies will automatically be installed in the correct order. This incurs a significant performance cost, so use FALSE if you know $theme_list is already complete and in the correct order.
bool Whether any of the given themes have been installed.
\Drupal\Core\Extension\ExtensionNameLengthException Thrown when the theme name is to long.
public function install(array $theme_list, $install_dependencies = TRUE);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ThemeInstallerInterface.php/function/ThemeInstallerInterface::install/8.1.x