ext_localconf.php 818 B

1234567891011121314151617181920212223
  1. <?php
  2. if (!defined('TYPO3_MODE')) {
  3. die('Access denied.');
  4. }
  5. // ext_localconf.php contient les directives permettant de configurer le frontend
  6. \FluidTYPO3\Flux\Core::registerProviderExtensionKey(
  7. 'OpenTalent.OtTemplating',
  8. 'Page'
  9. );
  10. \FluidTYPO3\Flux\Core::registerProviderExtensionKey(
  11. 'OpenTalent.OtTemplating',
  12. 'Content'
  13. );
  14. $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['createDemandObjectFromSettings'] = ['Opentalent\OtTemplating\News\NewsFilter->createDemandObjectFromSettings'];
  15. // Required to allow the use of multisite with the form extension
  16. $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManager::class] = [
  17. 'className' => Opentalent\OtTemplating\XClass\Form\Configuration\ConfigurationManager::class
  18. ];