Abstract Private Optional _kosmosReturns Kosmos-side configuration for this Behaviour.
Sets Kosmos-side configuration for this Behaviour.
The new configuration object.
Returns behaviour machine name.
Abstract hookThis method would be automatically before the first invocation of Behaviour for each entity type.
Behaviours may override this method, and it would be called once before each resolver.
Abstract validateValidates runtime (e.g. ContentItem) configuration for this Behaviour.
Inherited classes may either return false for generic issues or throw BehaviourRuntimeError to return a specific error message.
The instance configuration value to check.
Abstract validateValidates Kosmos (e.g. build time) configuration for this Behaviour.
Inherited classes may either return false for generic issues or throw BehaviourConfigError to return a specific error message.
The Kosmos configuration value to check.
Generated using TypeDoc
The base Behaviour class.
Mermaid
Behaviour life cycle / configuration flow