Esempio n. 1
0
 /**
  * Add a hook
  *
  * @param string $location The location of the hook separated bei pipes
  * @param string $configuration
  */
 public static function addHook($location, $configuration)
 {
     $location = GeneralUtility::trimExplode('|', $location, true);
     array_push($location, 'via_autoloader_' . GeneralUtility::shortMD5($configuration));
     ArrayUtility::setNodes([implode('|', $location) => $configuration], $GLOBALS);
 }