Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
DocHeaderComponent
The
\TYPO3\ can be
used to display a standardized header section in a backend module with buttons,
menus etc. It can also be used to hide the header section in case it is
not desired to display it.
The module header displayed by the DocHeaderComponent
You can get the
Doc with
\TYPO3\CMS\Backend\Template\ModuleTemplate::getDocHeaderComponent
from your module template.
Table of contents
DocHeaderComponent API
It has the following methods:
- class DocHeaderComponent
-
- Fully qualified name
-
\TYPO3\
CMS\ Backend\ Template\ Components\ Doc Header Component
DocHeader component class
- setMetaInformation ( array $metaInformation)
-
Set page information
- param $metaInformation
-
Record array
- setMetaInformationForResource ( \TYPO3\CMS\Core\Resource\ResourceInterface $resource)
-
- param $resource
-
the resource
-
Get moduleMenuRegistry
- Returns
-
MenuRegistry