You are here

public static function UpdaterInterface::canUpdateDirectory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\UpdaterInterface::canUpdateDirectory()

Determines if the Updater can handle the project provided in $directory.

Parameters

string $directory:

Return value

bool TRUE if the project is installed, FALSE if not.

2 methods override UpdaterInterface::canUpdateDirectory()
Module::canUpdateDirectory in core/lib/Drupal/Core/Updater/Module.php
Determines if the Updater can handle the project provided in $directory.
Theme::canUpdateDirectory in core/lib/Drupal/Core/Updater/Theme.php
Determines if the Updater can handle the project provided in $directory.

File

core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 61
Contains \Drupal\Core\Updater\UpdaterInterface.

Class

UpdaterInterface
Defines an interface for a class which can update a Drupal project.

Namespace

Drupal\Core\Updater

Code

public static function canUpdateDirectory($directory);