Fields checked by the Linkvalidator

Changed in version 13.3

The following fields where added to the list of fields that are checked by default:

  • pages = canonical_link
  • sys_redirect = target
  • sys_file_reference = link

The following tables and fields are supported by default:

  • pages = url, canonical_link
  • sys_redirect = target
  • sys_file_reference = link
  • tt_content = bodytext, header_link

Two special fields are currently defined, but are not checked yet due to their TCA configuration:

  • pages = media has TCA type="file"
  • tt_content = records has TCA type="group"

The following fields could theoretically be included in custom configurations, as their type / softref is available, but they are specifically not added in the default configuration:

  • sys_webhook = url (webhook should not be invoked)
  • tt_content = subheader (has softref email[subst] which is not a supported link type)
  • pages = tsconfig_includes (system configuration)
  • sys_template = constants, include_static_file, config (system configuration)
  • tx_scheduler_task_group = groupName (scheduler system configuration)

Required TCA configuration so a field can be checked by the Linkvalidator

Currently, LinkValidator will only detect links for fields if the TCA configuration meets one of these criteria:

For this reason, it is currently not possible to check for pages.media. This will be fixed in the future.

Examples for working fields:

  • pages.canonical_link ('type' => 'link')
  • pages.url ('softref' => 'url')
  • sys_file_reference.link ('type' => 'link')

Example for not working fields:

  • pages.media ('type' => 'file')