diff --git a/typo3/sysext/core/Documentation/Changelog/master/Feature-29342-ImproveValidatorTask.rst b/typo3/sysext/core/Documentation/Changelog/master/Feature-29342-ImproveValidatorTask.rst index 3a0690f38bac8b0c7ac91e5366778d22f8a0e067..63234a1bca263f309e23c723464e7acb8b97055d 100644 --- a/typo3/sysext/core/Documentation/Changelog/master/Feature-29342-ImproveValidatorTask.rst +++ b/typo3/sysext/core/Documentation/Changelog/master/Feature-29342-ImproveValidatorTask.rst @@ -42,7 +42,7 @@ This event can be used to manipulate the :php:`\TYPO3\CMS\Linkvalidator\Result\L which contains all information from the linkvalidator API. Also the `FluidEmail` object can be adjusted here. This allows to e.g. pass additional information to the view by using :php:`$fluidEmail->assign()` or dynamically adding mail information -such as the recievers list. The added values in the event take precedence over the +such as the receivers list. The added values in the event take precedence over the `modTSconfig` configuration. Therefore the event contains the merged `modTSconfig` to access further information about the actuall configuration of the task when assigning new values to `FluidEmail`. @@ -71,7 +71,7 @@ An example implementation of the PSR-14 event: $fluidEmail = $event->getFluidEmail(); $modTSconfig = $event->getModTSconfig(); - if ($modTSconfig['mail.']['fromname] === 'John Smith') { + if ($modTSconfig['mail.']['fromname'] === 'John Smith') { $fluidEmail->assign('myAdditionalVariable', 'foobar'); } @@ -97,14 +97,14 @@ information by default: * :php:`$oldBrokenLinkCounts`: Amount of broken links from the last run, separated by type (e.g. all, internal) * :php:`$newBrokenLinkCounts`: Amount of broken links from this run, separated by type (e.g. all, internal) -* :php:`$brokenLinks`: List of broken links with the raw database data +* :php:`$brokenLinks`: List of broken links with the raw database row * :php:`$differentToLastResult`: Whether the broken links count changed The :php:`brokenLinks` property gets further processed internally to provide additional information for the email. Following additional information is provided by default: * :php:`full_record`: The full record, the broken link was found in (e.g. pages or tt_content) -* :php:`record_title`: Value of :php:`full_record` title field +* :php:`record_title`: Value of the :php:`full_record` title field * :php:`record_type`: The title of the record type (e.g. "Page" or "Page Content") * :php:`language_code`: The language code of the broken link * :php:`real_pid`: The real page id of the record the broken link was found in