summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/plugins/export_ui/views_ui.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sites/all/modules/views/plugins/export_ui/views_ui.inc')
-rw-r--r--sites/all/modules/views/plugins/export_ui/views_ui.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/sites/all/modules/views/plugins/export_ui/views_ui.inc b/sites/all/modules/views/plugins/export_ui/views_ui.inc
new file mode 100644
index 000000000..042fc79cd
--- /dev/null
+++ b/sites/all/modules/views/plugins/export_ui/views_ui.inc
@@ -0,0 +1,37 @@
+<?php
+
+/**
+ * @file
+ * Plugin definition for CTools Export UI integration.
+ */
+
+$plugin = array(
+ 'schema' => 'views_view',
+ 'access' => 'administer views',
+
+ 'menu' => array(
+ 'menu item' => 'views',
+ 'menu title' => 'Views',
+ 'menu description' => 'Manage customized lists of content.',
+ ),
+
+ 'title singular' => t('view'),
+ 'title singular proper' => t('View'),
+ 'title plural' => t('views'),
+ 'title plural proper' => t('Views'),
+
+ 'handler' => 'views_ui',
+
+ 'strings' => array(
+ 'confirmation' => array(
+ 'revert' => array(
+ 'information' => t('This action will permanently remove any customizations made to this view.'),
+ 'success' => t('The view has been reverted.'),
+ ),
+ 'delete' => array(
+ 'information' => t('This action will permanently remove the view from your database.'),
+ 'success' => t('The view has been deleted.'),
+ ),
+ ),
+ ),
+);