Skip to content

Commit a3273ea

Browse files
authored
Merge pull request #7608 from PerplexDaniel/patch-1
Update import for extension registry in property actions
2 parents 4ee91d6 + af1ea6a commit a3273ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

16/umbraco-cms/customizing/property-editors/property-actions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Before creating a Property Action, make sure you are familiar with the [Extensio
2323

2424
Here is how you can register a new Property Action:
2525
```
26-
import { extensionRegistry } from '@umbraco-cms/extension-registry';
27-
import { MyEntityAction } from './my-property-action.api';
26+
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
27+
2828
const manifest =
2929
{
3030
type: 'propertyAction',
@@ -40,7 +40,7 @@ const manifest =
4040
}
4141
};
4242
43-
extensionRegistry.register(manifest);
43+
umbExtensionsRegistry.register(manifest);
4444
```
4545
### Creating the Property Action Class
4646

@@ -62,4 +62,4 @@ export class MyPropertyAction extends UmbPropertyActionBase {
6262
}
6363
}
6464
export { MyPropertyAction as api };
65-
```
65+
```

0 commit comments

Comments
 (0)