You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Shortcodable.php
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,18 @@
2
2
3
3
namespaceSilverstripe;
4
4
5
-
useSilverStripe\Core\Object;
5
+
useSilverStripe\View\ViewableData;
6
6
useSilverStripe\View\Parsers\ShortcodeParser;
7
7
useSilverStripe\Core\Config\Config;
8
+
useSilverstripe\Shortcodable\ShortcodableParser;
8
9
9
10
/**
10
11
* Shortcodable
11
12
* Manages shortcodable configuration and register shortcodable objects
12
13
*
13
14
* @author shea@livesource.co.nz
14
15
**/
15
-
class Shortcodable extendsObject
16
+
class Shortcodable extendsViewableData
16
17
{
17
18
privatestatic$shortcodable_classes = array();
18
19
@@ -32,7 +33,7 @@ public static function register_class($class)
32
33
user_error("Failed to register \"$class\" with shortcodable. $class must have the method parse_shortcode(). See /shortcodable/README.md", E_USER_ERROR);
0 commit comments