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

Merge pull request #199 from ASCWebServices/canini

debugging .theme file
parents 61a33a83 e88ec9ba
No related branches found
No related tags found
No related merge requests found
...@@ -415,18 +415,18 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $ ...@@ -415,18 +415,18 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $
$form['combine']['#weight'] = 1; $form['combine']['#weight'] = 1;
$form['field_appointment_target_id']['#weight'] = 3; $form['field_appointment_target_id']['#weight'] = 3;
$form['field_research_interests_target_id']['#weight'] = 4; $form['field_research_interests_target_id']['#weight'] = 4;
}
if(count($form['field_appointment_target_id']['#options']) == 0) { if(count($form['field_appointment_target_id']['#options']) == 0) {
$form['field_appointment_target_id']['#access'] = FALSE; $form['field_appointment_target_id']['#access'] = FALSE;
} }
if(count($form['field_research_interests_target_id']['#options']) == 0) { if(count($form['field_research_interests_target_id']['#options']) == 0) {
$form['field_research_interests_target_id']['#access'] = FALSE; $form['field_research_interests_target_id']['#access'] = FALSE;
} }
if(count($form['field_other_target_id']['#options']) == 0) { if(count($form['field_other_target_id']['#options']) == 0) {
$form['field_other_target_id']['#access'] = FALSE; $form['field_other_target_id']['#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