How city-of-helsinki/drupal-helfi-tyollisyyspalvelut-manuaali works
This repository is a Drupal application for the City of Helsinki unemployment services manual. Its custom modules extend service creation and moderation, group administration, search, translation, migration, reminders, and URL shortening. The strongest source evidence shows route dispatch into controllers/forms and delegation from controllers or specialized migration plugins to shared logic. The README gives little detail beyond the product identity, so several capabilities are represented from the source tree without inferred runtime connections.
Main entry points: BetterUiTranslationController.php Translation page · GroupNodeAddServiceController.php Group service creation · ParagraphBase.php Content migration · src Update reminders
Components 22
Service management
- Service workflow
public/modules/custom/service_manual_workflow/src - Service dates
public/modules/custom/hel_tpm_service_dates/src - Service statistics
public/modules/custom/hel_tpm_service_stats/src - Update reminders
public/modules/custom/hel_tpm_update_reminder/src
Groups and access
- Group service creation
public/modules/custom/hel_tpm_general/src/Controller/GroupNodeAddServiceController.php - Creation access rules
public/modules/custom/hel_tpm_general/src/Access/GroupNodeCreateAccessService.php - Group membership
public/modules/custom/hel_tpm_group/src - Bulk invitations
public/modules/custom/hel_tpm_group_invite/src/Form/BulkGroupInvitationCustom.php
Discovery and language
- Service search
public/modules/custom/hel_tpm_search/src - Search suggestions
public/modules/custom/hel_tpm_search_autosuggest/src - Translation route override
public/modules/custom/hel_tpm_better_locale_interface/src/EventSubscriber/BetterUiTranslationRouteSubscriber.php - Translation page
public/modules/custom/hel_tpm_better_locale_interface/src/Controller/BetterUiTranslationController.php - Translation filters
public/modules/custom/hel_tpm_better_locale_interface/src/Form/BetterTranslateFilterForm.php - Translation editor
public/modules/custom/hel_tpm_better_locale_interface/src/Form/BetterTranslateEditForm.php
Data and operations
- Content migration
public/modules/custom/hel_tpm_migrate_tools/src/Plugin/migrate/process/ParagraphBase.php - Service paragraph transforms
public/modules/custom/hel_tpm_migrate_tools/src/Plugin/migrate/process/TPMServiceTimeLocationParagraph.php - Price paragraph transform
public/modules/custom/hel_tpm_migrate_tools/src/Plugin/migrate/process/TPMServicePriceParagraph.php - Short URL endpoint
public/modules/custom/hel_tpm_url_shortener/src/Controller/ShortUrlAjaxController.php - Short URL service
public/modules/custom/hel_tpm_url_shortener/src/ShortUrlService.php - Revision list access
public/modules/custom/hel_tpm_general/src/RevisionListAccessController.php - Revision route override
public/modules/custom/hel_tpm_general/src/EventSubscriber/RevisionListRouteSubscriber.php
Other components
- Service editors
Connections 10
- Service editors → Group service creation: requests creation
- Group service creation → Creation access rules: checks access
public/modules/custom/hel_tpm_general/src/Controller/GroupNodeAddServiceController.php - Translation route override → Translation page: routes to
public/modules/custom/hel_tpm_better_locale_interface/src/EventSubscriber/BetterUiTranslationRouteSubscriber.php - Translation page → Translation filters: builds form
public/modules/custom/hel_tpm_better_locale_interface/src/Controller/BetterUiTranslationController.php - Translation page → Translation editor: builds form
public/modules/custom/hel_tpm_better_locale_interface/src/Controller/BetterUiTranslationController.php - Service paragraph transforms → Content migration: extends
public/modules/custom/hel_tpm_migrate_tools/src/Plugin/migrate/process/TPMServiceTimeLocationParagraph.php - Price paragraph transform → Content migration: extends
public/modules/custom/hel_tpm_migrate_tools/src/Plugin/migrate/process/TPMServicePriceParagraph.php - Short URL endpoint → Short URL service: generates link
public/modules/custom/hel_tpm_url_shortener/src/Controller/ShortUrlAjaxController.php - Revision route override → Revision list access: sets access callback
public/modules/custom/hel_tpm_general/src/EventSubscriber/RevisionListRouteSubscriber.php - Update reminders → Service workflow: responds to state changes