Webforms are missing metatags property of api response

Created on 22 December 2023, 6 months ago
Updated 14 February 2024, 4 months ago

Problem/Motivation

Link property of metatags object is empty.

{
  "title": "[de] test translation wf",
  "messages": [],
  "breadcrumbs": [
    { ... }
  ],
  "metatags": {
    "meta": [],
    "link": []
  },

Proposed resolution

CustomElementsMetatagsGenerator should take care of some configuration entities as well.

Result should look sth like this:

{
  "title": "[de] test translation wf",
  "messages": [],
  "breadcrumbs": [
    { ... }
  ],
  "metatags": {
    "meta": [],
    "link": [
      {
        "rel": "alternate",
        "hreflang": "de",
        "href": "https://admin--example.ldp-project.localdev.space/de/form/test-translation-wf"
      },
      {
        "rel": "alternate",
        "hreflang": "en",
        "href": "https://admin--example.ldp-project.localdev.space/form/test-translation-wf"
      }
    ]
  },
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇸🇮Slovenia useernamee Ljubljana

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024