File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/administration/back_office/back_office_elements Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ It requires content type identifier as an argument. The function returns the pat
4242
4343Content types icons configuration is stored in a global object : ` ibexa.adminUiConfig.contentTypes` .
4444
45- You can retrieve the icon URL with the `getContentTypeIcon ` helper function that is set on the global `ibexa.helpers.contentType` object.
45+ You can retrieve the icon URL with the `getContentTypeIconUrl ` helper function that is set on the global `ibexa.helpers.contentType` object.
4646It takes content type identifier as an argument and returns one of the following items :
4747
4848- URL of a specified content type's icon
4949- ` null` if there is no content type with specified identifier
5050
51- Example with `getContentTypeIcon ` :
51+ Example with `getContentTypeIconUrl ` :
5252
5353` ` ` jsx
5454const contentTypeIconUrl = ibexa.helpers.contentType.getContentTypeIconUrl(contentTypeIdentifier);
You can’t perform that action at this time.
0 commit comments