- Issue created by @szantog
The Block Title Link module currently doesn't support translation of the block title link settings. When using a multilingual site, users need to be able to translate the URL and title of block title links for different languages, but the module lacks the necessary schema configuration to make these fields translatable in the UI.
Add a schema file to the module that defines the translatable fields. Create a config/schema/block_title_link.schema.yml file with the proper schema definition to make the relevant fields translatable.
# Schema for the configuration of the Block Title Link module.
block.settings.*.third_party.block_title_link:
type: mapping
label: 'Block Title Link settings'
mapping:
title_link_url:
type: label
label: 'Title Link URL'
link_title:
type: label
label: 'Link Title'
title_link_target:
type: string
label: 'Link Target'
title_link_enable:
type: boolean
label: 'Enable Title Link'
The Block Title Link settings (Title Link URL and Link Title) will now appear in the block translation forms, allowing users to provide different values for different languages.
None. This change only affects the configuration schema.
No changes to the data model. The schema file only defines the existing configuration as translatable.
Active
1.1
Code