Skip to content

Commit fa57882

Browse files
committed
improve How behaviors work - put see also where it belongs
1 parent 41f2c8c commit fa57882

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/backend/behaviors.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,16 @@ With an adapter factory in place, custom getters and setters for form fields can
146146
Behaviors are registered globally using the <plone.behavior /> {term}`ZCML` directive.
147147
Internally, this directive registers a named utility that provides `plone.behavior.interfaces.IBehavior`, which contains combined information about the behavior such as its name, interface, factory/marker interface, and metadata.
148148

149+
```{seealso}
150+
The [README file of `plone.behavior`](https://github.com/plone/plone.behavior/blob/master/README.rst) explains the concepts and different ways to register a behavior in detail.
151+
```
152+
149153
### Lookup and provide
150154

151155
Plone content objects have logic to look up the behaviors names registered from their types configuration, the Factory Type Information (FTI).
152156
At runtime, the logic provides the interface (or marker) from the behavior to the object.
153157
This dynamically provided interface enables the component architecture to react to this new interface by adding additional form fields, bindings events, enabling more specific views, and more.
154158

155-
### Additional information
156-
157-
```{seealso}
158-
The [README file of `plone.behavior`](https://github.com/plone/plone.behavior/blob/master/README.rst) explains the concepts and different ways to register a behavior in detail.
159-
```
160-
161159
## Custom behaviors
162160

163161
There are two types of behaviors:

0 commit comments

Comments
 (0)