How do I preprocess $variables specific to a custom.tpl.php?
I have a hook_preprocess_node to implement theme_hook_suggestions as follow
function customtheme_preprocess_node(&$variables) {
$variables['theme_hook_suggestions'][] = 'node__' . $variables['type'] . '__' . $variables['view_mode'];
}
And a function to return HTML for the node_contentType__viewMode
function customTheme_node__article__full($variables) {
$output = '';
//build output markups ....
$output .= render($variables['content']);
return $output;
}
Now let's say that I want a preprocess function specifically targetting the viewMode theme above, how do I do it?
I have tried
function customeTheme_preprocess_node__article__full(&$variables) {}
but it didn't seem to work.