1
<?php
2

3
use SilverStripe\Dev\Deprecation;
4
use SilverStripe\View\Shortcodes\EmbedShortcodeProvider;
5
use SilverStripe\View\Parsers\ShortcodeParser;
6

7
/**
8
 * Framework configuration file
9
 *
10
 * Here you can make different settings for the Framework module (the core
11
 * module).
12
 *
13
 */
14

15 3
ShortcodeParser::get('default')
16 3
    ->register('embed', [EmbedShortcodeProvider::class, 'handle_shortcode']);
17

18
// Set to 5.0.0 to show APIs marked for removal at that version
19 3
Deprecation::notification_version('4.0.0');

Read our documentation on viewing source code .

Loading