Skip to content

Commit

Permalink
UHF-10629: Added rent income composite to webform print controller (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
annadruid authored Nov 21, 2024
1 parent e2c7399 commit 40b2201
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Drupal\grants_orienteering_map\Element\OrienteeringMapComposite;
use Drupal\grants_place_of_operation\Element\PlaceOfOperationComposite;
use Drupal\grants_premises\Element\PremisesComposite;
use Drupal\grants_premises\Element\RentIncomeComposite;
use Drupal\webform\Entity\Webform;
use Drupal\webform\WebformTranslationManager;
use Symfony\Component\DependencyInjection\ContainerInterface;
Expand Down Expand Up @@ -209,6 +210,7 @@ private function alterFieldTemplates(array $element, array $translatedFields) :
case 'rented_premise_composite':
case 'premises_composite':
case 'members_composite':
case 'rent_income_composite':
case 'club_section_composite':
case 'orienteering_map_composite':
case 'place_of_operation_composite':
Expand Down Expand Up @@ -385,6 +387,7 @@ public function getCompositeInputFields(array $element, array $translatedFields)
'club_section_composite' => ClubSectionComposite::getCompositeElements($element),
'orienteering_map_composite' => OrienteeringMapComposite::getCompositeElements($element),
'place_of_operation_composite' => PlaceOfOperationComposite::getCompositeElements($element),
'rent_income_composite' => RentIncomeComposite::getCompositeElements($element),
'default' => [],
};

Expand Down

0 comments on commit 40b2201

Please sign in to comment.