You are here

function registration_entity_settings_page in Entity Registration 8.2

Same name and namespace in other branches
  1. 8 registration.module \registration_entity_settings_page()
  2. 7.2 registration.module \registration_entity_settings_page()
  3. 7 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
@FIXME This implementation of hook_menu() cannot be automatically converted because it contains logic (i.e., branching statements, function calls, object instantiation, etc.) You will need to convert it manually. Sorry!

File

./registration.module, line 777

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::formBuilder()
    ->getForm('registration_entity_settings_form', $settings, $entity_type, $entity_id);
}