Feature: #76209 - Hook to register custom result browsers in AbstractPlugin
See forge#76209
Description
The hook
$GLOBALS allows
registering custom result browser implementations. This approach allows to override the default implementation of
Abstract for either all extensions or only for specific ones.
Impact
The hook may be registered in ext_:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\TYPO3\CMS\Frontend\Plugin\AbstractPlugin::class]['pi_list_browseresults'][1463475262] = \Vendor\ExtensionKey\Hook\ResultBrowserHook::class
Copied!
The registered class must implement the method
pi_ with the following arguments:
- int
$showDetermines how the results of the page browser will be shownResult Count - string
$tableAttributes for the table tag which is wrapped around the table cells containing the browse linksParams - array
$wrapArray with elements to overwrite the default $wrapper-arrayArr - string
$pointerVariable name for the pointerName - bool
$hscEnable htmlspecialchars() for the pi_getLL functionText - bool
$forceForces the output of the page browser if you set this option toOutput true - object
$pThe AbstractPlugin instance calling the hookObj