[FEATURE] Add PageTitle API 81/57881/31
authorRichard Haeser <richard@maxserv.com>
Sun, 12 Aug 2018 17:31:24 +0000 (19:31 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 1 Sep 2018 16:16:17 +0000 (18:16 +0200)
commitba1d52b82e1f617388f7234ede02ff8dcc58b8fc
tree6bf01631cc29ead1f9a4ecd5b282554f265fce4c
parent3dc77a458734590d48614e09313c7d6361b1c71b
[FEATURE] Add PageTitle API

It is now possible to set the title tag of a page by using
the PageTitle API. You can register your own providers and
set the priority of the provider so you are in control when
multiple extensions of a page trying to set the title.

Resolves: #85678
Releases: master
Change-Id: I1b0314f96b6af7bdad94b9865d2e2525b715d5c3
Reviewed-on: https://review.typo3.org/57881
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
16 files changed:
typo3/sysext/core/Classes/PageTitle/AbstractPageTitleProvider.php [new file with mode: 0644]
typo3/sysext/core/Classes/PageTitle/AltPageTitleProvider.php [new file with mode: 0644]
typo3/sysext/core/Classes/PageTitle/PageTitleProviderInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/PageTitle/PageTitleProviderManager.php [new file with mode: 0644]
typo3/sysext/core/Classes/PageTitle/RecordPageTitleProvider.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85678-ConfigTitleTagFunction.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85678-TsfeAltPageTitle.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-85678-AddAPIForTitleTags.rst [new file with mode: 0644]
typo3/sysext/core/ext_localconf.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Functional/Fixtures/pages-title-tag.xml [new file with mode: 0644]
typo3/sysext/frontend/Tests/Functional/Fixtures/pages.xml
typo3/sysext/frontend/Tests/Functional/Rendering/Fixtures/TitleTagRenderingTest.typoscript [new file with mode: 0644]
typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php [new file with mode: 0644]
typo3/sysext/seo/Classes/PageTitle/SeoTitlePageTitleProvider.php [new file with mode: 0644]
typo3/sysext/seo/ext_localconf.php