home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (theme.inc)

This example Drupal source code file (theme.inc) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

function, image_gallery, php, template_preprocess_image_gallery_view_image_gallery_terms, template_preprocess_views_view_unformatted, vars

The theme.inc Drupal example source code

<?php
// $Id: theme.inc,v 1.1.2.1 2010/09/28 12:25:50 joachim Exp $
/**
 * @file
 *
 * Theme preprocessors for image gallery plugins.
 */

/**
 * Preprocessor for the gallery terms style plugin.
 */
function template_preprocess_image_gallery_view_image_gallery_terms(&$vars) {
  // Common preprocessing for list styles.
  template_preprocess_views_view_unformatted($vars);

  drupal_add_css(drupal_get_path('module', 'image_gallery') .'/image_gallery.css');
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal theme.inc source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.