I'm building a module that defines several blocks and provides custom options for those blocks via hook_block_configure()
. Two of these blocks were built from scratch using hook_block_info()
and their configuration options defined in hook_block_configure()
display as intended. In other words, if you navigate to Structure > Blocks and click configure for either of these two blocks, the custom configuration options are displayed as intended.
The third block is a Views block, defined by hook_views_api()
and hook_views_default_views()
, and the hook_block_configure()
hook doesn't trigger at all for this block. Navigating to Structure > Blocks and clicking on configure for this block just shows the default block configuration options.
What I would like to know is how to add custom configuration options for this Views block or a similar solution. Is there any way to register this block so that it will also listen in on the hook_block_configure()
hook? Or is there maybe a different hook that would allow me to accomplish my goal? My Google-fu has yielded nothing.