function feedback_simple_install in Feedback Simple 7
Implements hook_install().
2 calls to feedback_simple_install()
- feedback_simple_system_settings_reset in ./
feedback_simple.admin.inc - Settings reset submit.
- feedback_simple_update_7100 in ./
feedback_simple.install - Implements hook_update_N().
File
- ./
feedback_simple.install, line 10 - Install file.
Code
function feedback_simple_install() {
$t = get_t();
variable_set('feedback_simple', array(
'enabled' => TRUE,
'link' => 'contact',
'target' => '_self',
'class' => array(
'feedback_simple',
),
'align' => 'right',
'top' => '75%',
'image' => drupal_get_path('module', 'feedback_simple') . '/feedback_simple.gif',
'alt' => $t('Feedback'),
'deny' => 'admin*',
'allow' => 'admin/appearance/feedback-simple',
));
}