[FEATURE] Introduce hook for custom result browser implementations 85/48185/11
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 17 May 2016 10:14:29 +0000 (12:14 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Sat, 23 Jul 2016 14:32:45 +0000 (16:32 +0200)
commit89ba12b5e9319261627038745cd2d4d8fe8d7e31
tree903d222f9e6ee7e933628c6bb70092cf6588ca9d
parent1c6d68107557736f1cdf6526e69aee78d60f6a7c
[FEATURE] Introduce hook for custom result browser implementations

The hook ``[\TYPO3\CMS\Frontend\Plugin\AbstractPlugin::class]['pi_list_browseresults']``
may be used to register a custom result browser implementation without the
need to override the method ``AbstractPlugin::pi_list_browseresults`` in
each pi-based plugin.
This is helpful if an implementation should be used for either all or
specific plugins.

Resolves: #76209
Releases: master
Change-Id: Iefab37eaac51c43a7daa225e3cf2f335f6d3975f
Reviewed-on: https://review.typo3.org/48185
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Documentation/Changelog/master/Feature-76209-HookToRegisterCustomResultBrowsersInAbstractPlugin.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php
typo3/sysext/frontend/Tests/Unit/Fixtures/ResultBrowserPluginHook.php [new file with mode: 0644]
typo3/sysext/frontend/Tests/Unit/Plugin/AbstractPluginTest.php