EmbedMiddleware
class EmbedMiddleware extends BaseViewMiddleware
Embed middleware handle the replacement of the embed placeholders. Replacement templates are searched in the following order:
- SITE/embedded/TYPE.twig - CEO Style
- SITE/gryphon/media/TYPE_embedded.tpl - Gryphon Style
- CEO/partials/embedded/TYPE.twig - CEO Core
Methods
string
injectMessage(string $content, string $message, boolean $newLine = true)
Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.
from BaseViewMiddleware
handle($event, $view)
No description
Details
in BaseViewMiddleware at line 14
register()
in BaseViewMiddleware at line 25
afterRender(Event $event, $view)
in BaseViewMiddleware at line 38
string
injectMessage(string $content, string $message, boolean $newLine = true)
Inject message output HTML. Will keep all messages contained to the same container. Can be styled via #__ceo-debug-message ID.