public function Module::isInstalled

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

Overrides UpdaterInterface::isInstalled

File

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

Class

Module
Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.

Namespace

Drupal\Core\Updater

Code

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