betty.extension.demo package¶
Module contents¶
Provide demonstration site functionality.
- final class betty.extension.demo.Demo[source]¶
Bases:
Extension
Provide demonstration site functionality.
- classmethod depends_on() set[PluginIdentifier[Extension]] [source]¶
The extensions this one depends on, and comes after.
- classmethod plugin_id() MachineName [source]¶
Get the plugin ID.
IDs are unique per plugin type:
A plugin repository MUST at most have a single plugin for any ID.
Different plugin repositories MAY each have a plugin with the same ID.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- register_event_handlers(registry: EventHandlerRegistry) None [source]¶
Register event handlers with the project.