Refactor the insert tag replacer.

This commit is contained in:
David Molineus
2015-10-30 23:34:20 +01:00
parent 75cb767625
commit 374fe905a0
4 changed files with 133 additions and 97 deletions

View File

@@ -65,12 +65,6 @@ $GLOBALS['TL_CTE']['includes']['leaflet'] = 'Netzmacht\Contao\Leaflet\Frontend\M
$GLOBALS['FE_MOD']['includes']['leaflet'] = 'Netzmacht\Contao\Leaflet\Frontend\MapModule';
/*
* Hooks
*/
$GLOBALS['TL_HOOKS']['replaceInsertTags'][] = array('Netzmacht\Contao\Leaflet\Frontend\Hooks', 'replaceInsertTags');
/*
* Models.
*/