vendor/pdir/contao-theme-helper-bundle/src/Resources/contao/config/config.php line 20

Open in your IDE?
  1. <?php
  2. /**
  3.  * Theme Helper Bundle for Contao Open Source CMS
  4.  *
  5.  * Copyright (C) 2019 pdir GmbH // pdir / digital agentur <develop@pdir.de>
  6.  *
  7.  * @package    pdir/contao-theme-helper-bundle
  8.  * @link       https://github.com/pdir/contao-theme-helper-bundle
  9.  * @license    LGPL-3.0+
  10.  * @author     Mathias Arzberger <develop@pdir.de>
  11.  *
  12.  * For the full copyright and license information, please view the LICENSE
  13.  * file that was distributed with this source code.
  14.  */
  15. /**
  16.  * Backend Modules
  17.  */
  18. array_insert($GLOBALS['BE_MOD']['contaoThemesNet'], 1, [
  19.     'thLicence' => [
  20.         'callback'          => 'Pdir\\ThemeHelperBundle\\Backend\\Licence',
  21.         'tables'            => [],
  22.     ],
  23. ]);
  24. /**
  25.  * Register hooks
  26.  */
  27. $GLOBALS['TL_HOOKS']['replaceInsertTags'][] = ['theme_helper.listener.insert_tags''onReplaceInsertTags'];
  28. /**
  29.  * Javascript for Backend
  30.  */
  31. if (TL_MODE == 'BE')
  32. {
  33.     if (!isset($GLOBALS['TL_CSS']))
  34.     {
  35.         $GLOBALS['TL_CSS'] = [];
  36.     }
  37.     $GLOBALS['TL_CSS'][] =  'bundles/themehelper/sass/th_check_domain.scss||static';
  38. }