diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 14:14:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 14:14:27 -0300 |
commit | 5905f9ef83d7e5d50f1ce7c1b108a691c4e6cdfd (patch) | |
tree | d1443543235525113eedc8cf90ba4c8c1e379e0d /muamba.module | |
parent | 97e344fc71919016cf493eae154e96a6476601c6 (diff) | |
download | muamba-5905f9ef83d7e5d50f1ce7c1b108a691c4e6cdfd.tar.gz muamba-5905f9ef83d7e5d50f1ce7c1b108a691c4e6cdfd.tar.bz2 |
Adding handlers code
Diffstat (limited to 'muamba.module')
-rw-r--r-- | muamba.module | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/muamba.module b/muamba.module index 0cfe977..ccaed41 100644 --- a/muamba.module +++ b/muamba.module @@ -271,21 +271,11 @@ function muamba_user_delete($account) { } /** - * Register View API information. This is required for your module to have - * its include files loaded; for example, when implementing - * hook_views_default_views(). - * - * @return - * An array with the following possible keys: - * - api: (required) The version of the Views API the module implements. - * - path: (optional) If includes are stored somewhere other than within - * the root module directory, specify its path here. - * - template path: (optional) A path where the module has stored it's views template files. - * When you have specificed this key views automatically uses the template files for the views. - * You can use the same naming conventions like for normal views template files. + * Implementes hook_views_data() */ function muamba_views_api() { return array( - 'api' => 3, + 'api' => 3, + 'path' => drupal_get_path('module', 'muamba') . '/views', ); } |