function custom_formatters_engine_php_theme_alter in Custom Formatters 7.2
Theme alter for 'PHP' engine.
Parameters
array $theme: A keyed array as expected by hook_theme().
File
- engines/
php.inc, line 14 - PHP engine for Custom Formatters modules.
Code
function custom_formatters_engine_php_theme_alter(&$theme) {
$theme['custom_formatters_php_export'] = array(
'variables' => array(
'item' => NULL,
'module' => NULL,
),
'template' => 'php.export',
'path' => drupal_get_path('module', 'custom_formatters') . '/engines',
);
}