Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version: Edit on GitHub

Embed Editable


Name Type Description
width string Width in the editmode
height string Height in the editmode
class string A CSS class that is added to the surrounding container of this element in editmode

Additionally you can use any configuration option of Embera


Name Return Description
isEmpty() boolean Whether the editable is empty or not
getData() string Get the URL of the assigned resource


{# Basic usage #}
{{ pimcore_embed("socialWidgets") }}

{# Advanced usage #}
{{ pimcore_embed("socialWidgets", { "width": 540 }) }}