sulu_content_load
ΒΆ
Returns a Structure for the given UUID
{% set page = sulu_content_load('1234-1234-1234-1234-1234') %}
Arguments:
- uuid: string - UUID of structure
Returns:
- array
- content: Content of page
- view: View of page
- extension: Extensions of page
- uuid: UUID of page
- template: Template name of page
- changed: Changed date of page
- changer: User ID of changer
- created: Date of creation
- creator: User ID of creator
- path: Path of page
- urls: Urls of page
- published: Publish date of page
- shadowBaseLocale: Shadow locale of page
Note
The sulu_content_load
twig extension loads and resolves the whole page content.
This is an expensive operation and can have a negative impact on the performance of
the page. If possible, the extension should be avoided.