function agenda_admin_googleapi in Agenda 6.2
Same name and namespace in other branches
- 7.2 agenda.admin.php \agenda_admin_googleapi()
Set Google API Key
1 string reference to 'agenda_admin_googleapi'
- agenda_menu in ./
agenda.module - Implementation of hook_menu().
File
- ./
agenda.admin.php, line 95 - Administration interface for the agenda module
Code
function agenda_admin_googleapi(&$form_state) {
$form = array();
$form['agenda_googleapi'] = array(
'#type' => 'textfield',
'#title' => t('Google API Key'),
'#default_value' => variable_get('agenda_googleapi', ''),
'#size' => 39,
'#maxlength' => 39,
'#description' => t('Key for server applications - <a href="https://developers.google.com/console/help/new/#usingkeys">https://developers.google.com/console/help/new/#usingkeys</a>'),
'#required' => TRUE,
);
return system_settings_form($form);
}