You are here

masonry_views.views.inc in Masonry API 7

Views-specific implementations and functions.

File

masonry_views/masonry_views.views.inc
View source
<?php

/**
 * @file
 * Views-specific implementations and functions.
 */

/**
 * Implements hook_views_plugins().
 */
function masonry_views_views_plugins() {
  return array(
    'style' => array(
      'masonry_views_grid' => array(
        'title' => t('Masonry grid'),
        'handler' => 'views_plugin_style_masonry_views_grid',
        'uses options' => TRUE,
        'help' => t("Display content in a jQuery Masonry grid."),
        'theme' => 'views_view_masonry',
        'type' => 'normal',
        'uses row plugin' => TRUE,
        'uses row class' => TRUE,
        'uses grouping' => FALSE,
      ),
    ),
  );
}

Functions