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