Skip to content

Commit

Permalink
Link to API
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Feb 24, 2024
1 parent adec91d commit 049e16a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/configuration/slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This concept is inherited from the Plone Classic UI {doc}`plone:classic-ui/viewl
## Anatomy

Slots are named, and they can contain a list of different slot components.
Slot components are also named, and they are registered in the configuration registry using a specific API for slots.
Slot components are also named, and they are registered in the {ref}`configuration registry using a specific API for slots <configuration-registry-for-slot-components>`.

The main trait of a slot component is that its renderer is controlled by a list of conditions called {term}`predicates`.
Multiple slot components can be registered under the same name, as long as they have different predicates.
Expand Down Expand Up @@ -60,7 +60,9 @@ You can add insertion points in your code, as shown in the following example.
```


## Register a slot component
(configuration-registry-for-slot-components)=

## Configuration registry for slot components

You register a slot component using the configuration registry:

Expand Down

0 comments on commit 049e16a

Please sign in to comment.