function commons_origins_theme in Drupal Commons 7.3
Implements hook_theme().
File
- themes/
commons/ commons_origins/ template.php, line 11 - Process theme data.
Code
function commons_origins_theme($existing, $type, $theme, $path) {
return array(
// Register the newly added theme_form_content() hook so we can utilize
// theme hook suggestions.
// @see commons_origins_form_alter().
'form_content' => array(
'render element' => 'form',
'path' => drupal_get_path('theme', 'commons_origins') . '/templates/form',
'template' => 'form-content',
'pattern' => 'form_content__',
),
);
}