You are here

zurb_twentytwenty.module in ZURB TwentyTwenty 8

Same filename and directory in other branches
  1. 7 zurb_twentytwenty.module
  2. 2.0.x zurb_twentytwenty.module

File

zurb_twentytwenty.module
View source
<?php

/**
 * Implementation of hook_theme().
 */
function zurb_twentytwenty_theme() {
  return array(
    'zurb_twentytwenty' => array(
      'variables' => array(
        'images' => NULL,
      ),
      'template' => 'zurb-twentytwenty',
    ),
  );
}

/**
 * Implements template_preprocess_zurb_twentytwenty().
 * @param $variables
 */
function template_preprocess_zurb_twentytwenty(&$variables) {
  $variables['#attached']['library'][] = 'zurb_twentytwenty/twentytwenty';
}