You are here

function me_views_api in me aliases 7

Same name and namespace in other branches
  1. 8 me.module \me_views_api()
  2. 6.2 me.module \me_views_api()
  3. 6 me.module \me_views_api()

Implements hook_views_api().

File

./me.module, line 726
Provides 'me' aliases to allow users to enter 'me' in common paths instead of their user id.

Code

function me_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'me') . '/includes/views',
  );
}