From af1ea6a9871e802d6b46f55c4d80d5a74dee56f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Knippers?= Date: Tue, 11 Nov 2025 14:09:00 +0100 Subject: [PATCH] Update import for extension registry in property actions Also removed unused import. --- .../customizing/property-editors/property-actions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/16/umbraco-cms/customizing/property-editors/property-actions.md b/16/umbraco-cms/customizing/property-editors/property-actions.md index 710100d733e..046e8a08a21 100644 --- a/16/umbraco-cms/customizing/property-editors/property-actions.md +++ b/16/umbraco-cms/customizing/property-editors/property-actions.md @@ -23,8 +23,8 @@ Before creating a Property Action, make sure you are familiar with the [Extensio Here is how you can register a new Property Action: ``` -import { extensionRegistry } from '@umbraco-cms/extension-registry'; -import { MyEntityAction } from './my-property-action.api'; +import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry'; + const manifest = { type: 'propertyAction', @@ -40,7 +40,7 @@ const manifest = } }; -extensionRegistry.register(manifest); +umbExtensionsRegistry.register(manifest); ``` ### Creating the Property Action Class @@ -62,4 +62,4 @@ export class MyPropertyAction extends UmbPropertyActionBase { } } export { MyPropertyAction as api }; -``` \ No newline at end of file +```