Task #91159

Document Services.php approach for registering widgets in EXT:dashboard

Added by Daniel Siepmann 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Category:
Dashboard
Target version:
-
Start date:
2020-04-21
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It is possible to register widgets via Services.php. Right now only Services.yaml is documented.
The php approach should be documented as well, in order to allow registering widgets if extensions are available.
That would allow extension a to provide widgets for extension b, if it is installed.
There would be no requirement, just a suggestion to install extension b.

Associated revisions

Revision 3af81778 (diff)
Added by Daniel Siepmann 2 months ago

[DOCS] Add dashboard widget registration example via Services.php

Explain how to register dashboard widgets via Services.php instead of
Services.yaml.
This might be necessary if a widget is provided under certain
circumstances, e.g. if a specific extension is enabled.

Resolves: #91159
Releases: master
Change-Id: Ic16e79f478b6da446ff1854979c3c3a822674d1e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64296
Tested-by: Björn Jacob <>
Tested-by: TYPO3com <>
Tested-by: Oliver Bartsch <>
Tested-by: Josef Glatz <>
Tested-by: Richard Haeser <>
Reviewed-by: Björn Jacob <>
Reviewed-by: Oliver Bartsch <>
Reviewed-by: Josef Glatz <>
Reviewed-by: Richard Haeser <>

History

#1 Updated by Gerrit Code Review 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64296

#2 Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64296

#3 Updated by Gerrit Code Review 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64296

#4 Updated by Gerrit Code Review 2 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64296

#5 Updated by Daniel Siepmann 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF