File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/templating/embed_and_list_content Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ You can use a custom controller for any situation where Query types aren't suffi
3636
3737This configuration points to a custom ` RelationController ` that should render all Articles with the ` showContentAction() ` method.
3838
39- ``` php hl_lines="23 27 28 "
39+ ``` php hl_lines="25 29-35 "
4040[[= include_file('code_samples/front/embed_content/src/Controller/RelationController.php') =]]
4141```
4242
43- This controller uses the Public PHP API to get [ the Relations of a content item] ( browsing_content.md#relations ) (lines 27-28 ).
43+ This controller uses the Public PHP API to get [ the Relations of a content item] ( browsing_content.md#relations ) (lines 29-35 ).
4444
45- The controller takes the custom parameter called ` accepted_content_types ` (line 23 ), which is an array of content type identifiers that are rendered.
45+ The controller takes the custom parameter called ` accepted_content_types ` (line 25 ), which is an array of content type identifiers that are rendered.
4646
4747This way you can control which content types you want to show or exclude.
4848
You can’t perform that action at this time.
0 commit comments