Skip to content

Commit

Permalink
Update 14/umbraco-cms/customizing/extending-overview/extension-types/…
Browse files Browse the repository at this point in the history
…condition.md

Co-authored-by: sofietoft <[email protected]>
  • Loading branch information
nielslyngsoe and sofietoft authored Dec 12, 2024
1 parent 4f0de47 commit cf9bc5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ declare global {
}
```

The global declaration on the last five lines. Makes your Condition appear as a valid condition for manifests using the type `UmbExtensionManifest`. Also notice how the Condition Config Type alias has to match with the alias given when registrering the condition below.
The global declaration on the last five lines makes your Condition appear valid for manifests using the type `UmbExtensionManifest`. Also, the Condition Config Type alias should match the alias given when registering the condition below.

The Condition then needs to be registered in the Extension Registry:

Expand Down

0 comments on commit cf9bc5b

Please sign in to comment.