Skip to content
Snippets Groups Projects
Commit 536d0c8b authored by Damian Lee's avatar Damian Lee Committed by Tim Plunkett
Browse files

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

parent ddb931b5
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -19,6 +19,28 @@ function views_api_version() { ...@@ -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().
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment