You are here

function hosting_alias_views_api in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 alias/hosting_alias.module \hosting_alias_views_api()

Views integration.

File

alias/hosting_alias.module, line 634
Allow sites to have domain aliases that they can be accessed with.

Code

function hosting_alias_views_api() {
  return [
    'api' => 3,
    'path' => drupal_get_path('module', 'hosting_alias') . '/includes/views',
  ];
}