function key_provider_lockr_build_configuration_form in Lockr 7
Same name and namespace in other branches
- 7.3 plugins/key_provider/lockr.inc \key_provider_lockr_build_configuration_form()
- 7.2 plugins/key_provider/lockr.inc \key_provider_lockr_build_configuration_form()
The settings form.
1 string reference to 'key_provider_lockr_build_configuration_form'
File
- plugins/
key_provider/ lockr.inc, line 29
Code
function key_provider_lockr_build_configuration_form($form, &$form_state) {
list($exists, $_) = lockr_check_registration();
if (!$exists) {
$form['need_register'] = array(
'#prefix' => '<p>',
'#markup' => t('This site has not yet registered with Lockr, ' . 'please <a href="@link">click here to register</a>.', array(
'@link' => 'admin/config/system/lockr',
)),
'#suffix' => '</p>',
);
}
return $form;
}