Skip to content

Instantly share code, notes, and snippets.

@rvollebregt
Last active August 29, 2015 14:06
Show Gist options
  • Save rvollebregt/18d19cd77a391fc4cd99 to your computer and use it in GitHub Desktop.
Save rvollebregt/18d19cd77a391fc4cd99 to your computer and use it in GitHub Desktop.
Autoload Typoscript Setup / Constants in Extensions
http://api.typo3.org/typo3cms/47/html/classt3lib__ext_mgm.html#a05505e7c16c4a7c0d47c531a8436d096
##################
static addTypoScriptConstants ($content)
Adds $content to the default TypoScript constants code as set in $GLOBALS['TYPO3_CONF_VARS'][FE]['defaultTypoScript_constants'] Prefixed with a [GLOBAL] line FOR USE IN ext_localconf.php FILES
Parameters
string TypoScript Constants string
Returns
void
Definition at line 1424 of file class.t3lib_extmgm.php.
References $content.
##################
static addTypoScriptSetup ($content)
Adds $content to the default TypoScript setup code as set in $GLOBALS['TYPO3_CONF_VARS'][FE]['defaultTypoScript_setup'] Prefixed with a [GLOBAL] line FOR USE IN ext_localconf.php FILES
Parameters
string TypoScript Setup string
Returns
void
Definition at line 1412 of file class.t3lib_extmgm.php.
References $content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment