-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPC-10057: Adjust Code to Treat HRP and HNRP Plan Types Equivalently … #1333
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add the summary of the grouped order of plan types to Drupal\ghi_blocks\Traits\GlobalSettingsTrait::getCheckboxOptions()
, same as you did for FTS
$plan_types = TaxonomyHelper::loadMultipleTermsByVocabulary('plan_type'); | ||
array_walk($plan_types, function ($term) use (&$grouped_plans_types) { | ||
if ($term->field_group_key->value) { | ||
$grouped_plans_types[$term->field_group_key->value][$term->tid->value] = $term->name->value; | ||
} | ||
else { | ||
$grouped_plans_types[$term->tid->value] = $term->name->value; | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this code to Drupal\ghi_plans\Traits\PlanTypeTrait
.
Build outputComposer Validate
|
7fc2cf2
to
93d8d85
Compare
…in HA.