AbstractLinktype

abstract class TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype

This class provides Check Base plugin implementation

getIdentifier()
Return type

string

setAdditionalConfig(array config)

Function to override config of Linktype. Should be used only if necessary. Add additional configuration to TSconfig.

Parameters
  • $config (array) -- the config

fetchType(unknown value, unknown type, unknown key)

Base type fetching method, based on the type that softRefParserObj returns

Parameters
  • $value (unknown) -- the value

  • $type (unknown) -- the type

  • $key (unknown) -- the key

getErrorParams()

Get the value of the private property errorParams

getBrokenUrl(unknown row)

Construct a valid Url for browser output

Parameters
  • $row (unknown) -- the row

Checks a given link for validity

Parameters
  • $url (unknown) -- the url

  • $softRefEntry (unknown) -- the softRefEntry

  • $reference (unknown) -- the reference

getErrorMessage(unknown errorParams)

Generate the localized error message from the error params saved from the parsing

Parameters
  • $errorParams (unknown) -- the errorParams