Commit 536d0c8b authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Issue #1641828 by damiankloip: Implement a hook_ctools_exportable_info().

parent ddb931b5
......@@ -19,6 +19,28 @@ function views_api_version() {
return '3.0';
}
/**
* Implements hook_ctools_exportable_info().
*/
function views_ctools_exportable_info() {
return array(
'view' => array(
'controller class' => 'Drupal\ctools\DatabaseExportableController',
'key' => 'name',
'identifier' => 'view',
'default hook' => 'views_default_views',
'bulk export' => TRUE,
'api' => array(
'owner' => 'views',
'api' => 'views_default',
'minimum_version' => '2',
'current_version' => '3.0',
),
'schema' => 'views_view',
),
);
}
/**
* Implements hook_forms().
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment