The plug-in registry is where a plug-in module is defined to CASAA. This registry let's the framework know what plug-in modules it has available to include in its processes. The two functions needed to register the plug-in in the framework are:
/** * Implementation of hook_install() * * Send basic info about the plug-in to CASAA to * register the plug-in with the framework. */ function example_plugin_install() { $plugin = array(); $plugin = array( 'module' => 'example_plugin', 'name' => 'Example', ); casaa_register($plugin); } /** * Implementation of hook_uninstall() * * Remove the plug-in from the registration from * the framework registry. */ function example_plugin_uninstall() { casaa_unregister('example_plugin'); }