You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ActivityLogService::build()`function returns an `Ibexa\Contracts\ActivityLog\Values\CreateActivityLogStruct` which can then be passed to `ActivityLogService::save`.
@@ -190,7 +190,7 @@ In the following example, several actions are logged into one context group, eve
Here is an example of a `PostActivityListLoadEvent` subscriber which loads the related object when it's an `App\MyFeature\MyFeature`, and attaches it to the log entry:
@@ -287,7 +296,7 @@ To sort the results of a query, use one of more [Sort Clauses](sort_clause_refer
287
296
For example, to order search results by their publication date, from oldest to newest, and then alphabetically by content name, add the following Sort Clauses to the query:
With field aggregations you can group search results according to the value of a specific field.
@@ -328,14 +337,14 @@ In this case the aggregation takes the content type identifier and the field ide
328
337
The following example creates an aggregation named `selection` that groups results according to the value of the `topic` field in the `article` content type:
For more information, see [Embeddings reference](embeddings_reference.md).
@@ -407,8 +416,9 @@ For a list of supported Criteria and Sort Clauses, see [Search in trash referenc
407
416
Searching through the trashed content items operates directly on the database, therefore you cannot use external search engines, such as Solr or Elasticsearch, and it's impossible to reindex the data.
Copy file name to clipboardExpand all lines: docs/templating/twig_function_reference/image_twig_functions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ page_type: reference
13
13
To render images, use the [`ibexa_render_field()`](field_twig_functions.md#ibexa_render_field) Twig function with the variation name passed as an argument, for example:
file_path (string): The path to the file from project root
60
+
start_line (int): The line number to start including from (start counting from 1) - default is 1 (include first line)
61
+
end_line (int or None): The line number to end including to. If None, include until the end of the file - default is None (include end of file)
62
+
indent_level (int): The number of indent (4 spaces) to add to the beginning of each line - default is 0 (no indent added).
63
+
remove_indent (bool): Whether to remove absolute indent, the maximum of leading whitespaces without breaking relative indent - default is False (no indent removed)
0 commit comments