Commit dea3b005 authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[TASK] Declare System Information Panel signal @internal

This API is incomplete and has some design flaws.
This patch declares those extension points as internal,
so further improvements can be made later.

Resolves: #71390
Releases: master
Change-Id: Ie305df810a07749f7cbe97ed56388901b8964f3c
Reviewed-on: https://review.typo3.org/44595


Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
parent 61b997c8
......@@ -273,6 +273,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
*/
protected function emitGetSystemInformation()
{
// @internal This API is subject to be rebuilt from scratch anytime. Do not use in extensions!
list($systemInformation) = $this->getSignalSlotDispatcher()->dispatch(__CLASS__, 'getSystemInformation', array(array()));
if (!empty($systemInformation)) {
$this->systemInformation[] = $systemInformation;
......@@ -286,6 +287,7 @@ class SystemInformationToolbarItem implements ToolbarItemInterface
*/
protected function emitLoadMessages()
{
// @internal This API is subject to be rebuilt from scratch anytime. Do not use in extensions!
list($message) = $this->getSignalSlotDispatcher()->dispatch(__CLASS__, 'loadMessages', array(array()));
if (empty($message)) {
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment