You are here

function _key_provider_plugin_process in Key 7

Same name and namespace in other branches
  1. 7.2 key.module \_key_provider_plugin_process()

Callback function to process key provider plugins.

1 string reference to '_key_provider_plugin_process'
key_ctools_plugin_type in ./key.module
Implements hook_ctools_plugin_type().

File

./key.module, line 711
Provides the ability to manage keys, which can be used by other modules.

Code

function _key_provider_plugin_process(&$plugin, $info) {

  // Check dependencies and attach any errors to the plugin.
  if ($dependency_function = ctools_plugin_get_function($plugin, 'dependency callback')) {
    $plugin['dependency errors'] = call_user_func($dependency_function);
  }
}