Attention

TYPO3 v10 has reached end-of-life as of April 30th 2023 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 v10 here: TYPO3 ELTS.

Global Meta Information about TYPO3

General Information

The PHP class TYPO3\CMS\Core\Information\Typo3Information provides an API for general information, links and copyright information about TYPO3.

The following methods are available:

  • getCopyrightYear() will return a string with the current copyright years (for example "1998-2020")

  • getHtmlGeneratorTagContent() will return the backend meta generator tag with copyright information

  • getInlineHeaderComment() will return the TYPO3 header comment rendered in all frontend requests ("This website is powered by TYPO3...")

  • getCopyrightNotice() will return the TYPO3 copyright notice

Warning

DO NOT prevent the copyright notice from being shown in ANY WAY. According to the GPL license an interactive application must show such a notice on start-up ('If the program is interactive, make it output a short notice... ' ) Therefore preventing this notice from being properly shown is a violation of the license, regardless of whether you remove it or use a stylesheet to obstruct the display.

Version Information

PHP class TYPO3\CMS\Core\Information\Typo3Version provides an API for accessing information about the currently used TYPO3 version.

  • getVersion() will return the full TYPO3 version (for example 10.4.3)

  • getBranch() will return the current branch (for example 10.4)

  • getMajorVersion() will return the major version number (for example 10)

  • __toString() will return the result of getVersion()