<div dir="ltr">it should be api not version 
<a href="http://api.drupal.org/api/views/views.api.php/function/hook_views_api/7">http://api.drupal.org/api/views/views.api.php/function/hook_views_api/7</a> <br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 6:25 PM, Ms. Nancy Wichmann <span dir="ltr">&lt;<a href="mailto:nan_wich@bellsouth.net" target="_blank">nan_wich@bellsouth.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><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(&#39;nancy_reporting_views_api&#39;);<br>  return array(<br>    &#39;version&#39; =&gt; &#39;3.0&#39;,<br>

    &#39;path&#39; =&gt; drupal_get_path(&#39;module&#39;, &#39;nancy_reporting&#39;),<br>    );<br>}</span></div><div><br><span></span></div><div><span>Yes, the module is named
 &quot;nancy_reporting.&quot;<br></span></div><div> </div><div><font face="bookman old style, new york, times, serif" size="4" color="#ff007f"><font style 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></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<br>Jibran Ijaz</div><br>
</div>