Allow the editorial statement URL to be an internal or entity URI so it links to the correct translation
Problem / Motivation
The "Editorial statement URL" setting only accepts an absolute external URL (#type => 'url'). On a multilingual site that means the disclosure always links readers to one fixed language — a German visitor reading a German page is sent to the English statement.
The rendering side already handles better input: statementUrl() runs the value through Url::fromUri(), which understands internal:/path and entity:node/42 URIs. For those, the generated link gets the current language prefix at render time, and an entity: URI points to the canonical page — so a translated statement node would automatically link each visitor to their own translation. Only the form blocks this.
Proposed resolution
- Replace the
urlform element with input handling like core's link field (LinkWidget::getUserEnteredStringAsUri()): accept an external URL, an internal path like/about-ai, or an entity reference. Config schema staystype: uri. - Additionally mark the setting
translatable: truein the config schema, so Config Translation can provide per-language URLs when the statement pages are not translations of a single node. - Add tests covering external, internal and entity URIs, and that the rendered link carries the page language.