2007-07-19 10:40:28 +00:00
|
|
|
<?php
|
|
|
|
|
2016-08-19 10:51:35 +12:00
|
|
|
use SilverStripe\Dev\Deprecation;
|
2017-06-29 18:45:17 +12:00
|
|
|
use SilverStripe\View\Shortcodes\EmbedShortcodeProvider;
|
2016-08-19 10:51:35 +12:00
|
|
|
use SilverStripe\View\Parsers\ShortcodeParser;
|
|
|
|
|
2007-09-15 00:08:23 +00:00
|
|
|
/**
|
2012-03-24 16:38:57 +13:00
|
|
|
* Framework configuration file
|
2007-09-15 00:08:23 +00:00
|
|
|
*
|
2012-03-24 16:38:57 +13:00
|
|
|
* Here you can make different settings for the Framework module (the core
|
2007-09-15 00:08:23 +00:00
|
|
|
* module).
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-09-15 14:52:02 +12:00
|
|
|
ShortcodeParser::get('default')
|
2017-06-29 18:45:17 +12:00
|
|
|
->register('embed', [EmbedShortcodeProvider::class, 'handle_shortcode']);
|
2012-03-01 21:13:42 +13:00
|
|
|
|
2017-08-29 15:02:36 +12:00
|
|
|
// Set to 5.0.0 to show APIs marked for removal at that version
|
|
|
|
Deprecation::notification_version('4.0.0');
|