mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 13:46:42 +02:00
feat(shortcodes): upd filesystem
shortcode
This commit is contained in:
@@ -20,6 +20,9 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface;
|
||||
|
||||
// Shortcode: [filesystem]
|
||||
parsers()->shortcodes()->addHandler('filesystem', static function (ShortcodeInterface $s) {
|
||||
if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.filesystem.enabled')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$varsDelimeter = $s->getParameter('varsDelimeter') ?: '|';
|
||||
|
||||
|
Reference in New Issue
Block a user