diff options
Diffstat (limited to 'sites/all/modules/ctools/tests/plugins/cached/plugin_array2.inc')
-rw-r--r-- | sites/all/modules/ctools/tests/plugins/cached/plugin_array2.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sites/all/modules/ctools/tests/plugins/cached/plugin_array2.inc b/sites/all/modules/ctools/tests/plugins/cached/plugin_array2.inc new file mode 100644 index 000000000..e6676154d --- /dev/null +++ b/sites/all/modules/ctools/tests/plugins/cached/plugin_array2.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_array2_cached_test', + 'handler' => array( + 'class' => 'ctoolsCachedPluginArray2', + ), +); + +/** + * Plugin array function plugin. + */ +function ctools_plugin_test_plugin_array2_cached_test() {} |