Remove hidden dependency to drupal/texts

Created on 10 September 2025, 23 days ago

Problem/Motivation

The current data producer calls getTexts(), which is only available if the drupal/texts module is installed. This introduces a hidden dependency and can cause errors when the module is missing.

Proposed resolution

Check if the drupal/texts module is installed before calling getTexts(). If not installed, fall back to Drupal’s core t() function for string translation.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇨🇭Switzerland danielwirz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024