MCPcopy
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

emitMethod · 0.95
test_iter_pluginsMethod · 0.80

Calls 1

valuesMethod · 0.45

Tested by 1

test_iter_pluginsMethod · 0.64