Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lektor/lektor
/ iter_plugins
Method
iter_plugins
lektor/pluginsystem.py:156–158 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
154
env.plugin_ids_by_class[plugin_cls] = plugin_id
155
156
def
iter_plugins(self):
157
# XXX: sort?
158
return
self.env.plugins.values()
159
160
def
emit(self, event, **kwargs):
161
""
"Invoke event hook
for
all plugins that support it.
Callers
2
emit
Method · 0.95
test_iter_plugins
Method · 0.80
Calls
1
values
Method · 0.45
Tested by
1
test_iter_plugins
Method · 0.64