<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Before I pull any more hair out, maybe someone has an idea. I have a module that I am adding a hook_views_api() to. It is not firing - I put a dsm() in to find out. I also tried using a module_implements() and the module is not in the list. The module is definitely enabled because other functions run fine. This is about as simple a hook as there is, so how have I messed it up?</span></div><div><span><br>/**<br> * Implements hook_views_api().<br> */<br>function nancy_reporting_views_api() {<br> drupal_set_message('nancy_reporting_views_api');<br> return array(<br> 'version' => '3.0',<br> 'path' => drupal_get_path('module', 'nancy_reporting'),<br> );<br>}</span></div><div><br><span></span></div><div><span>Yes, the module is named
"nancy_reporting."<br></span></div><div> </div><div><font face="bookman old style, new york, times, serif" size="4" color="#ff007f"><font style="color:rgb(0, 0, 0);" size="2"><span style="font-family:arial, helvetica, sans-serif;"></span></font></font><font face="bookman old style, new york, times, serif" size="4" color="#ff007f"><i><b>Nancy</b></i></font> <br></div><div><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div></div></body></html>