Skip to content

Commit ef8ed97

Browse files
authoredMar 5, 2025··
custom_icons.md: Fix getContentTypeIconUrl function name (#2634)
1 parent 91cec13 commit ef8ed97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/administration/back_office/back_office_elements/custom_icons.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ It requires content type identifier as an argument. The function returns the pat
4242

4343
Content 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.
4646
It 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
5454
const contentTypeIconUrl = ibexa.helpers.contentType.getContentTypeIconUrl(contentTypeIdentifier);

0 commit comments

Comments
 (0)
Please sign in to comment.