Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. function xxx_theme() {
  2.   $path = drupal_get_path('module', 'xxx') . '/templates';
  3.   return array(
  4.     'pricing_template' => array(
  5.       'template' => 'xxx_template',
  6.       'path' => $path,
  7.        'render element' => 'page',
  8.     ),
  9.   );
  10. }
  11.  
  12.  
  13.  
  14. /**
  15.  * Implements hook_uninstall().
  16.  */
  17. function xxx_callback() {
  18.   return theme('xxx_template');
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement