Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no longer need delta_theme for omega zone relation; delta reset to no…

…thing atm
  • Loading branch information...
commit 5f2b4ccfb8cf24602427717be65bbe762a6178d8 1 parent 6d30b9d
@himerus himerus authored
Showing with 4 additions and 36 deletions.
  1. +4 −36 delta.module
View
40 delta.module
@@ -1,43 +1,11 @@
<?php
// $Id$
/**
- * Implements hook_theme().
- *
- * @todo figure out WTF with template suggestions inside omega_theme()
- *
- * For now, implementing what is a truly hacky situation IMHO
- * Creating a theme hook for each zone, as well as for the location of the zone
- * and finally a default zone tpl
- *
- * This was forced to be moved to
+ * Implements hook_theme().
*/
+
function delta_theme() {
$hooks = array();
- $variables = array(
- 'zid' => NULL,
- 'type' => NULL,
- 'enabled' => NULL,
- 'wrapper' => NULL,
- 'zone_type' => NULL,
- 'container_width' => NULL,
- 'regions' => NULL
- );
- $template_path = drupal_get_path('module', 'delta') .'/theme';
- $preprocess_functions = array('template_preprocess', 'template_preprocess_zone');
- $process_functions = array('template_preprocess', 'template_preprocess_zone');
- $hooks['zone'] = array(
- 'variables' => $variables,
- 'pattern' => 'zone__'
- );
+
return $hooks;
-}
-/*
-function delta_element_info() {
- // Top level elements.
- $types['zone'] = array(
- '#theme' => 'zone',
- '#theme_wrappers' => array('zone'),
- );
- return $types;
-}
-*/
+}
Please sign in to comment.
Something went wrong with that request. Please try again.