You are here

function views_mediatable_library in Views MediaTable 7

Implements hook_library().

File

./views_mediatable.module, line 11
This is where all of the logic is kept for determining how to a Views table in a responsive table display.

Code

function views_mediatable_library() {
  $libraries['mediatable'] = array(
    'title' => 'MediaTable',
    'website' => 'http://consulenza-web.com/jquery/MediaTable/',
    'version' => '',
    'js' => array(
      libraries_get_path('MediaTable') . '/jquery.mediaTable.js' => array(),
    ),
    'css' => array(
      drupal_get_path('module', 'views_mediatable') . '/css/views_mediatable.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
    ),
  );
  return $libraries;
}