Hi,

I'm just getting started with ctools plugins. I'm developing a custom module and I want the module to support plugins. These plugins will represent various handlers and services that integrate with my main module. I want to use the ctools plugin system for this. I am modeling some of my work on the way the geocoder module uses plugins to represent various geocoding webservices.

Is it possible for each of my plugins to have a schema in the database to store data in? Does the plugin get a hook_schema or hook_install called? How is this use case generally approached?

thanks,
Cliff

Comments

pontus_nilsson’s picture

Not sure if this is enough for you but each plugin can have a settings form and the values set in the settings form are later available in the $conf variable.

You can see an example of a plugin and how the settings form is built and used here.

MustangGB’s picture

Status: Active » Closed (outdated)