Fosforus\AuthBlockShortcode\View\Shortcodes\AuthBlockShortcodeProvider
Provider for the [authblock] shortcode tag used to determine logged-in state in the HTML Editor field.
Provides the html needed for the frontend and the editor field itself.
Synopsis
class AuthBlockShortcodeProvider
implements
ShortcodeHandler
{
- // methods
- public static mixed get_shortcodes()
- public static string handle_shortcode()
Hierarchy
Implements
- SilverStripe\View\Parsers\ShortcodeHandler
Methods
public
- get_shortcodes() — Gets the list of shortcodes provided by this handler
- handle_shortcode() — AuthBlock shortcode parser