zurb_twentytwenty.module in ZURB TwentyTwenty 8
Same filename and directory in other branches
File
zurb_twentytwenty.moduleView 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';
}
Functions
Name | Description |
---|---|
template_preprocess_zurb_twentytwenty | Implements template_preprocess_zurb_twentytwenty(). |
zurb_twentytwenty_theme | Implementation of hook_theme(). |