\Block\EventBlockShortcode

Main Shortcode Listener for Block plugin.

Summary

Methods
Properties
Constants
implementedEvents()
shortcodeBlock()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

implementedEvents()

implementedEvents() : void

Returns a list of events this Event Listener is implementing. When the class is registered in an event manager, each individual method will be associated with the respective event.

shortcodeBlock()

shortcodeBlock(\Cake\Event\Event $event, array $atts, string $content, string $tag) : string

Implements the "block" shortcode.

{block 1 /}

Parameters

\Cake\Event\Event $event

The event that was fired

array $atts

An associative array of attributes, or an empty string if no attributes are given

string $content

The enclosed content (if the shortcode is used in its enclosing form)

string $tag

The shortcode name

Returns

string