예제 #1
0
/**
 * Implements hook_form_FORM_ID_alter().
 */
function unikue_form_system_theme_settings_alter(&$form, $form_state, $form_id = NULL)
{
    if (isset($form_id)) {
        return;
    }
    // Include theme settings file.
    unikue_include('unikue', 'theme/settings.inc');
    // Alter theme settings form.
    _unikue_settings_form($form, $form_state);
}
예제 #2
0
/**
 * Implements hook_theme().
 *
 * Register theme hook implementations.
 *
 * The implementations declared by this hook have two purposes: either they
 * specify how a particular render array is to be rendered as HTML (this is
 * usually the case if the theme function is assigned to the render array's
 * #theme property), or they return the HTML that should be returned by an
 * invocation of theme().
 *
 * @see _unikue_theme()
 */
function unikue_theme(&$existing, $type, $theme, $path)
{
    unikue_include($theme, 'theme/registry.inc');
    return _unikue_theme($existing, $type, $theme, $path);
}