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

8.0.x
damiankloip 2012-06-16 17:35:44 +02:00 committed by Tim Plunkett
parent ddb931b58e
commit 536d0c8bc1
1 changed files with 22 additions and 0 deletions

View File

@ -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().
*