function registration_entity_settings_page in Entity Registration 7
Same name and namespace in other branches
- 8.2 registration.module \registration_entity_settings_page()
- 8 registration.module \registration_entity_settings_page()
- 7.2 registration.module \registration_entity_settings_page()
Page callback for entity registration settings.
Parameters
$entity_type:
$entity:
Return value
array Registration entity settings form.
1 string reference to 'registration_entity_settings_page'
- registration_menu in ./
registration.module - Implements hook_menu().
File
- ./
registration.module, line 797
Code
function registration_entity_settings_page($entity_type, $entity) {
list($entity_id) = entity_extract_ids($entity_type, $entity);
$settings = registration_entity_settings($entity_type, $entity_id);
return drupal_get_form('registration_entity_settings_form', $settings, $entity_type, $entity_id);
}