Skip to content
Snippets Groups Projects
Unverified Commit e53610be authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #302 from ASCWebServices/canini-2

fixing people filter title order
parents 6bae7689 136c0f17
No related merge requests found
......@@ -628,8 +628,9 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $
* setting up weights for form elements
*/
$form['combine']['#weight'] = 1;
$form['field_appointment_target_id']['#weight'] = 3;
$form['field_research_interests_target_id']['#weight'] = 4;
$form['field_appointment_target_id_collapsible']['#weight'] = 3;
$form['field_research_interests_target_id_collapsible']['#weight'] = 4;
$form['field_other_target_id_collapsible']['#weight'] = 5;
if(count($form['field_appointment_target_id']['#options']) == 0) {
$form['field_appointment_target_id_collapsible']['#access'] = FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment