Last active
May 24, 2019 09:26
-
-
Save lerni/582f500d3d9223ada4b7e9c155189b77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/view/Requirements.php b/view/Requirements.php | |
index a39d0e998..d7004b9a8 100644 | |
--- a/view/Requirements.php | |
+++ b/view/Requirements.php | |
@@ -419,6 +419,13 @@ class Requirements implements Flushable { | |
return self::backend()->debug(); | |
} | |
+ /** | |
+ * Output ld+json | |
+ * https://github.com/lerni/silverstripe3-ldjsonrequirement/blob/master/composer.json | |
+ */ | |
+ public static function ldJsonScript($script, $uniquenessID = null) { | |
+ self::backend()->ldJsonScript($script, $uniquenessID); | |
+ } | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment