File tree 1 file changed +2
-2
lines changed
docs/administration/back_office/back_office_elements
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
42
42
43
43
Content types icons configuration is stored in a global object : ` ibexa.adminUiConfig.contentTypes` .
44
44
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.
46
46
It takes content type identifier as an argument and returns one of the following items :
47
47
48
48
- URL of a specified content type's icon
49
49
- ` null` if there is no content type with specified identifier
50
50
51
- Example with `getContentTypeIcon ` :
51
+ Example with `getContentTypeIconUrl ` :
52
52
53
53
` ` ` jsx
54
54
const contentTypeIconUrl = ibexa.helpers.contentType.getContentTypeIconUrl(contentTypeIdentifier);
You can’t perform that action at this time.
0 commit comments