Created
May 13, 2016 14:22
-
-
Save tanmayk/aea58f4ec9dc78890db9548cd61290e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* My Scroller Views module help and theme functions. | |
*/ | |
// Store Scroller preprocess theme functions in a separate .inc file. | |
\Drupal::moduleHandler()->loadInclude('my_scroller', 'inc', 'my_scroller.theme'); | |
/** | |
* Implements hook_theme(). | |
*/ | |
function my_scroller_theme($existing, $type, $theme, $path) { | |
return array( | |
'scroller' => array( | |
'file' => 'my_scroller.theme.inc', | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment