Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) 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.