How and where within Drupal do I call a hook?
How and where within Drupal do I call a hook? As an example the openlayers module has a hook that I might be interested in calling called hook_openlayers_layers_info(). Thanks, John -- John J. Mitchell
create a module of your own, lets say "example", in the module file, define a function naming it example_openlayers_info On Wed, Apr 14, 2010 at 3:07 AM, John Mitchell <mitchelljj98@gmail.com>wrote:
How and where within Drupal do I call a hook? As an example the openlayers module has a hook that I might be interested in calling called hook_openlayers_layers_info().
Thanks,
John -- John J. Mitchell -- [ Drupal support list | http://lists.drupal.org/ ]
-- Cheers, Mukesh
How and where within Drupal do I call a hook? As an example the openlayers module has a hook that I might be interested in calling called hook_openlayers_layers_info().
You write a module. Here you can Read the FM: http://api.drupal.org/api/group/hooks/6 :) That's the first result from Google under "drupal hook system" F
participants (3)
-
Fred Jones -
John Mitchell -
Mukesh Agarwal