function certificate_test_certificate_map_options in Certificate 8.3
Same name and namespace in other branches
- 6.2 modules/certificate_test/certificate_test.module \certificate_test_certificate_map_options()
- 7.3 modules/certificate_test/certificate_test.module \certificate_test_certificate_map_options()
- 7.2 modules/certificate_test/certificate_test.module \certificate_test_certificate_map_options()
- 3.x modules/certificate_test/certificate_test.module \certificate_test_certificate_map_options()
Implements certificate_map_options().
File
- modules/
certificate_test/ certificate_test.module, line 6
Code
function certificate_test_certificate_map_options() {
$chars = drupal_map_assoc(array_merge(range('a', 'z')));
return array(
'firstletter' => array(
'title' => 'Username first letter',
'description' => "Map by the first letter of the user's name",
'options' => $chars,
),
);
}