Issue #1641828 by damiankloip: Implement a hook_ctools_exportable_info().
parent
ddb931b58e
commit
536d0c8bc1
22
views.module
22
views.module
|
@ -19,6 +19,28 @@ function views_api_version() {
|
||||||
return '3.0';
|
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().
|
* Implements hook_forms().
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue