sulu_snippet_load_by_areaΒΆ
Returns the content of the default snippet for the given snippet area.
{% set snippets = sulu_snippet_load_by_area('sidebar_overview') %}
{{ snippets.content.title }}
Arguments:
area: string - The area to search for snippet.
properties: array<string, string> - optional: List of property names to resolve. By default all properties are resolved.
webspaceKey: string - optional: The webspace to get area snippet settings.
locale: string - optional: The locale to load snippet.
Returns:
- array
uuid: UUID of page
changed: Changed date of page
changer: User ID of changer
created: Date of creation
creator: User ID of creator
content: Snippet content data
view: Snippet view data