function encrypt_ctools_plugin_type in Encrypt 7.3
Same name and namespace in other branches
- 7.2 encrypt.module \encrypt_ctools_plugin_type()
Implements hook_ctools_plugin_type().
Tell ctools about our plugin types.
File
- ./
encrypt.module, line 126 - Main Encrypt Drupal File
Code
function encrypt_ctools_plugin_type() {
$plugins = array();
$plugins['encryption_methods'] = array(
'cache' => TRUE,
'cache table' => 'cache',
'process' => '_encrypt_plugin_process',
'defaults' => array(
'title' => '',
'description' => '',
'encrypt callback' => NULL,
'dependency callback' => NULL,
'dependency errors' => NULL,
'settings form' => NULL,
),
);
$plugins['key_providers'] = array(
'cache' => TRUE,
'cache table' => 'cache',
'process' => '_encrypt_plugin_process',
'defaults' => array(
'title' => '',
'description' => '',
'key callback' => NULL,
'dependency callback' => NULL,
'dependency errors' => NULL,
'settings form' => NULL,
'static key' => TRUE,
),
);
return $plugins;
}