You are here

public static function PageManager::canExport in Hook Update Deploy Tools 8

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

Checks to see if Panels pages can be exported.

Return value

bool TRUE if can be exported.

Overrides ExportInterface::canExport

1 call to PageManager::canExport()
PageManager::export in src/PageManager.php
Exports a single PageManager page (typically called from Drush).

File

src/PageManager.php, line 228

Class

PageManager
Public methods working with Panels.

Namespace

HookUpdateDeployTools

Code

public static function canExport() {
  Check::canUse('ctools');
  Check::canUse('page_manager');
  ctools_include('page', 'page_manager', 'plugins/tasks');
  Check::canCall('page_manager_page_load');
  Check::canCall('page_manager_load_task_handlers');
  Check::canCall('page_manager_page_export');
  return TRUE;
}