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.

Hook Naming

When introducing new hooks in TYPO3 the naming of the registration arrays shall follow this schema:

// assign array of callables or Foo:class->function
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['<topic>']['<hook name>'] = [];

Note that '<topic>' shall be an abstract thing like 'link' or 'url' and should not reflect the class or file the hook is currently implemented in. This should prevent irritation when hooks are moved around in the code.