You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 15/umbraco-cms/customizing/extending-overview/extension-registry/extension-manifest.md
+8-13Lines changed: 8 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,13 @@ description: Learn about the different methods for declaring an Extension Manife
8
8
9
9
The Extension Manifest is the point of entry for any extension. This is the declaration of what you want to register.
10
10
11
-
The content in this section describes all the extension types that the Backoffice supports. Here is a list of the most common types:
12
-
13
-
{% content-ref url="../extension-types/" %}
14
-
[extension-types](../extension-types/)
15
-
{% endcontent-ref %}
16
-
11
+
The content in this section describes all the extension types that the Backoffice supports. Find a list of the most common types in the [Extension Types](../extension-types/) article.
17
12
18
13
## Extension Manifest Format
19
14
20
-
A Extension Manifest can be written either as JavaScript Object or a JSON Object.
15
+
An Extension Manifest can be written either as a JavaScript Object or a JSON Object.
21
16
22
-
There is a few general properties, the required set of properties consists of the `type`, `alias` and `name`.
17
+
There are a few general properties, the required set of properties consists of the `type`, `alias`, and `name`.
23
18
24
19
```typescript
25
20
const manifest = {
@@ -30,8 +25,8 @@ const manifest = {
30
25
};
31
26
```
32
27
33
-
The `type`defined what it is declaring
34
-
The `alias` is a unique identifier for this manifest. It must be globally unique, so make sure to prefix with something that makes your extension unique.
28
+
The `type`defines what it is declaring
29
+
The `alias` is a unique identifier for this manifest. It must be globally unique, so make sure to prefix it with something that makes your extension unique.
35
30
The `name` is a representational name of this manifest, this does not need to be unique but such can be beneficial when debugging extensions.
36
31
37
32
## Manifest Data
@@ -46,13 +41,13 @@ The required fields of any extension manifest are:
46
41
*`alias`- The alias is used to identify the extension. This has to be unique for each extension.
47
42
*`name` - The name of the extension. This is used to identify the extension in the UI.
48
43
49
-
Additionally, many extensions supports the use of the following fields:
44
+
Additionally, many extensions support the use of the following fields:
50
45
51
46
*`weight` - Define a weight, to determine the importance or visual order of this extension.
52
-
*`conditions` - Define one or more conditions which must be permitted for the extension to become available. [Extension Conditions](../extension-conditions/extension-conditions.md).
47
+
*`conditions` - Define one or more conditions that must be permitted for the extension to become available. [Extension Conditions](../extension-conditions/extension-conditions.md).
53
48
*`kind` - Define a kind-alias of which this manifest should be based upon. Kinds acts like a preset for your manifest. [Extension Kinds](../extension-kind/extension-kind.md).
54
49
55
-
Many of the Extension Types requires additional information declared as part of a `meta` field.
50
+
Many of the Extension Types require additional information declared as part of a `meta` field.
0 commit comments