You are here

function httpbl_views_api in http:BL 7

Same name and namespace in other branches
  1. 6.2 httpbl.module \httpbl_views_api()

Implementation of hook_views_api().

File

./httpbl.module, line 792
Implementation of http:BL for Drupal. It provides IP-based blacklisting through http:BL and allows linking to a honeypot.

Code

function httpbl_views_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'httpbl') . '/views',
  );
}