Active
Project:
Explorer
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2011 at 21:46 UTC
Updated:
22 Sep 2012 at 18:16 UTC
It looks to me like it's not possible to provide a plugin from another module. They MUST be in the plugins folder of nodereference_explorer. This means that if I want to add a plugin, I have to hack the module.
The function nodereference_explorer_plugins() simply scans this directory. Perhaps it should call a hook to allow other modules to provide a plugin.
Comments
Comment #1
gnindl commentedThat's true. The plugin architecture isn't very generic yet as it only accommodates the differences between link and nodereference module. You are right, it's better to use hooks and maybe (sub)modules. This will be done in scope of major rewrite in the 2.x-dev series or the Drupal 7 port.
Comment #2
gnindl commentedNevertheless it would be useful to receive your custom plugin as a patch in this queue :)
Comment #3
gnindl commentedPropagated to successor explorer module - supposed to have a more generic architecture.