diff --git a/views.module b/views.module index 2a77d07d39bd227def5bed3daf80ce1af2a446c0..5fc87c08ff5f917e3d2e29a55a1406a55214ebcc 100644 --- a/views.module +++ b/views.module @@ -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(). *