varbase_tweaks.module in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7
Same filename and directory in other branches
Applies some tweaks for a more usable and standardized Drupal site.
File
modules/custom/varbase_tweaks/varbase_tweaks.moduleView source
<?php
/**
* @file
* Applies some tweaks for a more usable and standardized Drupal site.
*/
/**
* Implements hook_form_FORM_ID_alter().
*
* Allows the profile to alter the site configuration form.
*/
function varbase_tweaks_form_system_site_information_settings_alter(&$form, $form_state) {
global $user;
if ($user->uid != 1) {
$form['front_page']['#access'] = FALSE;
}
}
Functions
Name | Description |
---|---|
varbase_tweaks_form_system_site_information_settings_alter | Implements hook_form_FORM_ID_alter(). |