public function Theme::isInstalled

Implements Drupal\Core\Updater\UpdaterInterface::isInstalled().

Overrides UpdaterInterface::isInstalled

File

drupal/core/lib/Drupal/Core/Updater/Theme.php, line 44
Definition of Drupal\Core\Updater\Theme.

Class

Theme
Defines a class for updating themes using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.

Namespace

Drupal\Core\Updater

Code

public function isInstalled() {
  return (bool) drupal_get_path('theme', $this->name);
}