Same name and namespace in other branches
  1. 8.x-1.x quicktabs.module \quicktabs_quicktabs_contents() 1 comment

Implements hook_quicktabs_contents().

File

./quicktabs.module, line 467

Code

function quicktabs_quicktabs_contents() {
    $info = array();
    $path = drupal_get_path('module', 'quicktabs') . '/plugins';
    $info['block'] = array(
        'path' => $path,
        'handler' => array(
            'file' => 'QuickBlockContent.inc',
            'class' => 'QuickBlockContent',
        ),
        'dependencies' => array(
            'block',
        ),
    );
    $info['view'] = array(
        'path' => $path,
        'handler' => array(
            'file' => 'QuickViewContent.inc',
            'class' => 'QuickViewContent',
        ),
        'dependencies' => array(
            'views',
        ),
    );
    $info['node'] = array(
        'path' => $path,
        'handler' => array(
            'file' => 'QuickNodeContent.inc',
            'class' => 'QuickNodeContent',
        ),
    );
    $info['qtabs'] = array(
        'path' => $path,
        'handler' => array(
            'file' => 'QuickQtabsContent.inc',
            'class' => 'QuickQtabsContent',
        ),
    );
    $info['callback'] = array(
        'path' => $path,
        'handler' => array(
            'file' => 'QuickCallbackContent.inc',
            'class' => 'QuickCallbackContent',
        ),
    );
    return $info;
}