function apigee_edge_form_user_register_form_after_build in Apigee Edge 8
After build function for user_registration_form.
Parameters
array $form: Form array.
Drupal\Core\Form\FormStateInterface $form_state: Form state object.
Return value
array Form array.
1 string reference to 'apigee_edge_form_user_register_form_after_build'
- apigee_edge_form_user_register_form_alter in ./
apigee_edge.module - Implements hook_form_FORM_ID_alter().
File
- ./
apigee_edge.module, line 840 - Copyright 2018 Google Inc.
Code
function apigee_edge_form_user_register_form_after_build(array $form, FormStateInterface $form_state) {
if (isset($form['account']['apigee_edge_developer_exists']) && isset($form['account']['mail'])) {
$form['account']['apigee_edge_developer_exists']['#weight'] = $form['account']['mail']['#weight'] + 0.0001;
}
if (isset($form['account']['apigee_edge_developer_unreceived_mail']) && isset($form['account']['mail'])) {
$form['account']['apigee_edge_developer_unreceived_mail']['#weight'] = $form['account']['mail']['#weight'] + 0.0001;
}
return $form;
}