Skip to content

Commit c368931

Browse files
committed
Added last example of the manifest.
1 parent 40f04a3 commit c368931

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

16/umbraco-cms/customizing/back-office-signs.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Using this binding lets the server determine which signs are present in the resp
3434

3535
## Displaying a Sign
3636

37-
Register an entitySign extension. Bind it to Flags using forEntityFlags. For the icon variant, set kind: 'icon' and provide meta.iconName and meta.label so the UI has something to render.
37+
To display a Sign in the backoffice, you register an entitySign extension and bind it to one or more flags using the forEntityFlags property. If you're using an icon variant, you must set kind: "icon" and provide both meta.iconName and meta.label, so the UI has the necessary visual and accessible information to render.
3838

3939
Example:
4040

@@ -49,14 +49,16 @@ export const manifests: UmbExtensionManifest = {
4949
name: "Is Protected Document Entity Sign",
5050
forEntityTypes: [UMB_DOCUMENT_ENTITY_TYPE], // Where it can appear
5151
forEntityFlags: ["Umb.IsProtected"], // <---Binding part-When it should appear
52+
weight: 1000,
5253
meta: {
5354
iconName: "icon-lock", // Built-in or custom icon name
5455
label: "Protected", // Visible/accessible label
56+
iconColorAlias: "red",
5557
},
5658
};
5759
```
5860

59-
When an entity includes the Umb.IsProtected flag, this Sign appears next to it in the UI.
61+
When an entity includes the Umb.IsProtected flag, this Sign appears next to it in the UI, indicating that the item is protected.
6062

6163
{% hint style="info" %}
6264
The client extension for backoffice signs will be available in Umbraco 16.4 / 17.0.

0 commit comments

Comments
 (0)