summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc b/kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc
new file mode 100644
index 0000000..40a4bf7
--- /dev/null
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/ctools/tests/plugins/cached/plugin_array.inc
@@ -0,0 +1,20 @@
+<?php
+/**
+ * @file
+ * Chaos Tools plugin include using a plugin array to declare a plugin.
+ */
+
+/**
+ * Plugin array plugin definition.
+ */
+$plugin = array(
+ 'function' => 'ctools_plugin_test_plugin_array_cached_test',
+ 'handler' => array(
+ 'class' => 'ctoolsCachedPluginArray',
+ ),
+);
+
+/**
+ * Plugin array function plugin.
+ */
+function ctools_plugin_test_plugin_array_cached_test() {}