# Page Twig functions

## `ibexa_append_cacheable_query_params()`

Get the query parameters of a page block as [configured in `cacheable_query_params`](https://doc.ibexa.co/en/latest/content_management/pages/page_blocks/#block-configuration). If the block type has no configured query parameters, an empty array is returned.

```
{{ render_esi(controller('Ibexa\\Bundle\\FieldTypePage\\Controller\\BlockController::renderAction', {
    'locationId': locationId,
    'blockId': block.id,
    'versionNo': versionInfo.versionNo,
    'languageCode': field.languageCode
}, ibexa_append_cacheable_query_params(block))) }}
```

## `ibexa_page_layout()`

Get the layout template of a landing page.

```
{% include ibexa_page_layout(page) with {'zones': page.zones} %}
```

It can be used to render a [page field](https://doc.ibexa.co/en/latest/content_management/field_types/field_type_reference/pagefield/index.md). For an example, you can look at how the default `vendor/ibexa/fieldtype-page/src/bundle/Resources/views/fields/ibexa_landing_page.html.twig` uses it.
