vendor/madeyourday/contao-rocksolid-custom-elements/src/Resources/contao/config/config.php line 34

Open in your IDE?
  1. <?php
  2. /*
  3.  * Copyright MADE/YOUR/DAY OG <mail@madeyourday.net>
  4.  *
  5.  * For the full copyright and license information, please view the LICENSE
  6.  * file that was distributed with this source code.
  7.  */
  8. /**
  9.  * RockSolid Custom Elements configuration
  10.  *
  11.  * @author Martin Auswöger <martin@madeyourday.net>
  12.  */
  13. $GLOBALS['TL_HOOKS']['initializeSystem'][] = array('MadeYourDay\\RockSolidCustomElements\\CustomElements''loadConfig');
  14. $GLOBALS['TL_HOOKS']['loadLanguageFile'][] = array('MadeYourDay\\RockSolidCustomElements\\CustomElements''loadLanguageFileHook');
  15. $GLOBALS['TL_HOOKS']['exportTheme'][] = array('MadeYourDay\\RockSolidCustomElements\\CustomElements''exportThemeHook');
  16. $GLOBALS['TL_HOOKS']['extractThemeFiles'][] = array('MadeYourDay\\RockSolidCustomElements\\CustomElements''extractThemeFilesHook');
  17. $GLOBALS['BE_FFL']['rsce_list_start'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\ListStart';
  18. $GLOBALS['BE_FFL']['rsce_list_stop'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\ListStop';
  19. $GLOBALS['BE_FFL']['rsce_list_item_start'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\ListItemStart';
  20. $GLOBALS['BE_FFL']['rsce_list_item_stop'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\ListItemStop';
  21. $GLOBALS['BE_FFL']['rsce_group_start'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\GroupStart';
  22. $GLOBALS['BE_FFL']['rsce_data'] = 'MadeYourDay\\RockSolidCustomElements\\Widget\\Data';
  23. $GLOBALS['TL_MAINTENANCE'][] = 'MadeYourDay\\RockSolidCustomElements\\CustomElementsConvert';
  24. $GLOBALS['TL_PURGE']['custom']['rocksolid_custom_elements'] = array(
  25.     'callback' => array('MadeYourDay\\RockSolidCustomElements\\CustomElements''purgeCache'),
  26. );
  27. // Insert the custom_elements category
  28. array_insert($GLOBALS['TL_CTE'], 1, array('custom_elements' => array()));
  29. array_insert($GLOBALS['FE_MOD'], 0, array('custom_elements' => array()));