function uuid_services_settings in Universally Unique IDentifier 7
Settings form for UUID Services.
Return value
array Configuration form structure.
1 string reference to 'uuid_services_settings'
- uuid_services_menu in uuid_services/
uuid_services.module - Implements hook_menu().
File
- uuid_services/
uuid_services.admin.inc, line 14 - Administration functions for UUID Service module.
Code
function uuid_services_settings() {
$form['uuid_services_support_all_entity_types'] = array(
'#type' => 'checkbox',
'#title' => t('Support all UUID entity types'),
'#description' => t('Check this box to automatically provide Services integration for all entity types with UUID support.'),
'#default_value' => variable_get('uuid_services_support_all_entity_types', FALSE),
);
$form['uuid_services_allowed_media_mimes'] = array(
'#type' => 'textarea',
'#title' => t('Allowed Media Mime type'),
'#default_value' => variable_get('uuid_services_allowed_media_mimes', UUID_SERVICES_DEFAULT_ALLOWED_MEDIA_MIMES),
'#cols' => 40,
'#rows' => 5,
'#description' => t("Enter one mime type per line you wish to allow in the system without extension. Example mime type '<em>video/brightcove</em>'."),
);
return system_settings_form($form);
}