function commons_site_homepage_variable_info in Drupal Commons 7.3
Implements hook_variable_info().
File
- modules/
commons/ commons_site_homepage/ commons_site_homepage.variable.inc, line 23 - Variables for the Commons Site Homepage module.
Code
function commons_site_homepage_variable_info($options) {
$variable['commons_anonymous_welcome_title'] = array(
'type' => 'string',
'title' => t('Welcome headline', array(), $options),
'description' => t('A short description of the community that visitors can understand at a glance.'),
'default' => 'The open-source alternative for enterprise-scale business software',
'group' => 'commons_site_homepage',
);
$variable['commons_anonymous_welcome_body'] = array(
'type' => 'string',
'title' => t('Welcome body text', array(), $options),
'description' => t('A couple of sentences elaborating about your community.'),
'default' => 'Enable social networking to create productive interactions. Whether your community is public or private, Commons does it!',
'group' => 'commons_site_homepage',
);
return $variable;
}