You are here

public static function Terms::canImport in Hook Update Deploy Tools 7

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.

Overrides ImportInterface::canImport

1 call to Terms::canImport()
Terms::import in src/Terms.php
Perform the unique steps necessary to import terms items from export files.

File

src/Terms.php, line 93

Class

Terms
Public methods for dealing with Vocabularies.

Namespace

HookUpdateDeployTools

Code

public static function canImport() {
  Check::canUse('taxonomy');
  return TRUE;
}