Skip to content

Commit

Permalink
remove registries section
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Feb 9, 2021
1 parent 031af9e commit 773964f
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions dev_docs/kibana_platform_plugin_intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,33 +139,6 @@ plugins to customize the Kibana experience. Examples of extension points are:
- uiActions.registerAction
- core.saedObjects.registerType

## Registries

Registries are a term you'll hear quite frequently when developing in Kibana.
A registry is a collection of common things that can be manipulated via extension points.

Examples of extension points that modify registries are:

- core.application.register
- embeddables.registerEmbeddableFactory
- uiActions.registerAction
- alerting.registerType

Extension points that don't affect registries:

- core.notifications.toasts.addSuccess
- core.overlays.showModal

Developers add specific implementations to registries. For example, the `LensEmbeddable` is
a specific implementation of the generic `Embeddable` that the Lens plugin adds to the embeddable
registry using `embeddables.registerEmbeddableFactory` extension point.

<DocCallOut title="Common pitfall" color="warning">
In most situations, extension points that affect registries should only be exposed from a plugins setup
<DocLink id="kibPlatformIntro" section="plugin-lifecycle" text="lifecycle"/>.
Then you are garaunteed by the time your start method runs, the list won't change.
</DocCallOut>

## Follow up material

Learn how to build your own plugin by following <DocLink id="kibDevTutorialBuildAPlugin" />

0 comments on commit 773964f

Please sign in to comment.