Skip to content

Commit b6d44e9

Browse files
full namespaces removed
1 parent 13c0898 commit b6d44e9

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

docs/templating/twig_function_reference/content_twig_functions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can provide `ibexa_render()` with either a content item or a Location object
2828

2929
|Argument|Type|Description|
3030
|------|------|------|
31-
|`content`</br>or</br>`location`|`Ibexa\Contracts\Core\Repository\Values\Content\Content`</br>or</br>`Ibexa\Contracts\Core\Repository\Values\Content\Location`|Content item or its location.|
31+
|`content` or `location`|[`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`Location`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Location.html)|Content item or its location.|
3232
|`method`|`string`|(optional) [Rendering method](#rendering-methods). One of: `direct`, `inline`, `esi`, `ssi`. (Default method is `direct`)|
3333
|`viewType`|`string`|(optional) [View type](template_configuration.md#view-types). (Default view type is `embed`)|
3434

@@ -60,7 +60,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
6060

6161
| Argument | Type | Description |
6262
|---------------|------|-------------|
63-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
63+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
6464
| `forcedLanguage` | `string` | (optional) Language to use (for example, `fre-FR`). |
6565

6666
``` html+twig
@@ -81,7 +81,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
8181

8282
| Argument | Type | Description |
8383
|---------------|------|-------------|
84-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
84+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
8585

8686
``` html+twig
8787
{{ ibexa_seo_is_empty(content) }}
@@ -97,7 +97,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
9797

9898
| Argument | Type | Description |
9999
|---------------|------|-------------|
100-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
100+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item, its ContentInfo object, or ContentAwareInterface object.|
101101

102102
``` html+twig
103103
{{ ibexa_seo(content) }}
@@ -126,7 +126,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
126126

127127
| Argument | Type | Description |
128128
|---------------|------|-------------|
129-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item to display the category name for. |
129+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item to display the category name for. |
130130

131131
```html+twig
132132
{{ content|ibexa_taxonomy_entries_for_content|map(entry => "#{entry.name}")|join(', ') }}

docs/templating/twig_function_reference/field_twig_functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The field is rendered with the default template, but you can optionally pass a d
3232

3333
| Argument | Type | Description |
3434
| ------ | ----- | ----- |
35-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
35+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
3636
| `fieldDefinitionIdentifier` | `string` | Field identifier. |
3737
| `params` | `hash` | (optional) Hash of parameters passed to the template block. |
3838

@@ -92,7 +92,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
9292

9393
| Argument | Type | Description |
9494
|-----|------|-----|
95-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to.|
95+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to.|
9696
| `fieldDefIdentifier` | `string` | Identifier of the field. |
9797
| `forcedLanguage` | `string` | (optional) Language to use (for example, "fre-FR"). |
9898

@@ -112,7 +112,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
112112

113113
| Argument | Type | Description |
114114
|-------|------|------|
115-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to.|
115+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to.|
116116
| `fieldDefIdentifier` | `string` | Identifier of the field. |
117117
| `forcedLanguage` | `string` | {optional) Language to use (for example, "fre-FR"). |
118118

@@ -140,7 +140,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
140140

141141
| Argument | Type | Description |
142142
|---------------|------|-------------|
143-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
143+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
144144
| `fieldDefIdentifier` | `string` | Identifier of the field. |
145145
| `forcedLanguage` | `string` | (optional) Language to use (for example, `fre-FR`). |
146146

@@ -166,7 +166,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
166166

167167
| Argument | Type | Description |
168168
|---------------|------|-------------|
169-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
169+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
170170
| `fieldDefIdentifier` | `string` | Identifier of the field. |
171171
| `forcedLanguage` | `string` | (optional) Language to use (for example, `fre-FR`). |
172172

@@ -188,7 +188,7 @@ If the content item doesn't have a translation in the prioritized or passed lang
188188

189189
| Argument | Type | Description |
190190
|---------------|------|-------------|
191-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
191+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html), [`ContentInfo`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentInfo.html), or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field belongs to. |
192192
| `fieldDefIdentifier` | `string` | Identifier of the field. |
193193
| `forcedLanguage` | `string` | (optional) Language to use (for example, `fre-FR`). |
194194

@@ -235,7 +235,7 @@ For example, use `ibexa_field_is_empty()` to check whether a field is empty or f
235235

236236
| Argument | Type | Description |
237237
|---------------|------|-------------|
238-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field may belong to. |
238+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item the field may belong to. |
239239
| `fieldDefIdentifier` | `string` | Identifier of the field. |
240240

241241
``` html+twig

docs/templating/twig_function_reference/image_twig_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To render images, use the [`ibexa_render_field()`](field_twig_functions.md#ibexa
4848

4949
| Argument | Type | Description |
5050
| ------ |----- | ----- |
51-
| `content` | [`Ibexa\Contracts\Core\Repository\Values\Content\Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html)</br>or</br>[`Ibexa\Contracts\Core\Repository\Values\Content\ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item to display the image for. |
51+
| `content` | [`Content`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-Content.html) or [`ContentAwareInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-Core-Repository-Values-Content-ContentAwareInterface.html) | Content item to display the image for. |
5252

5353
``` html+twig
5454
{% set firstImage = ibexa_content_field_identifier_first_filled_image(content) %}

0 commit comments

Comments
 (0)