function ctools_plugin_test_ctools_plugin_type
Implements hook_ctools_plugin_type().
File
-
tests/
ctools_plugin_test.module, line 20
Code
function ctools_plugin_test_ctools_plugin_type() {
return array(
'extra_defaults' => array(
'defaults' => array(
'bool' => TRUE,
'string' => 'string',
'array' => array(
'some value',
),
),
),
'cached' => array(
'cache' => TRUE,
'classes' => array(
'handler',
),
),
'not_cached' => array(
'cache' => FALSE,
'classes' => array(
'handler',
),
),
'big_hook_cached' => array(
'cache' => TRUE,
'use hooks' => TRUE,
'classes' => array(
'handler',
),
),
'big_hook_not_cached' => array(
'cache' => FALSE,
'use hooks' => TRUE,
'classes' => array(
'handler',
),
),
);
}