sulu_snippet_loadΒΆ

Returns content array for given snippet uuid.

{% set snippet = sulu_snippet_load('1234-1234-1234-1234-1234') %}
{{ snippet.content.title }}

Arguments:

  • uuid: string - The uuid of requested content.
  • locale: string - optional: 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