You are here

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

Checks to see if Terms can be exported.

Return value

bool TRUE if can be exported.

Overrides ExportInterface::canExport

1 call to Terms::canExport()
Terms::export in src/Terms.php
Exports a single term based on its tid. (Typically called from Drush).

File

src/Terms.php, line 105

Class

Terms
Public methods for dealing with Vocabularies.

Namespace

HookUpdateDeployTools

Code

public static function canExport() {

  // Uses drupal_var_export which needs to be included.
  $file = DRUPAL_ROOT . '/includes/utility.inc';
  require_once $file;
  Check::canUse('taxonomy');
  return TRUE;
}