You are here

public static function ImportInterface::canImport in Hook Update Deploy Tools 8

Same name and namespace in other branches
  1. 7 src/ImportInterface.php \HookUpdateDeployTools\ImportInterface::canImport()

Verifies that that import can be used based on available module.

Return value

bool TRUE If the import can be run.

Throws

\DrupalUpdateException if it can not be run.

4 methods override ImportInterface::canImport()
Menus::canImport in src/Menus.php
Checks to see if menu_import in enabled.
PageManager::canImport in src/PageManager.php
Checks if Page Manager is enabled and import functions are available.
Redirects::canImport in src/Redirects.php
Check if Redirect is enabled and import functions are available.
Rules::canImport in src/Rules.php
Checks to see if rules in enabled and functions are available.

File

src/ImportInterface.php, line 30

Class

ImportInterface
iImport is the interface for all Hook Update Deploy Tools that import items.

Namespace

HookUpdateDeployTools

Code

public static function canImport();