"Plugin listing: is_active() for %s took %0.3f seconds",
plugin.plugin_name, elapsed)
plugin_metadata = plugin.frontend_metadata()._asdict()
if plugin_metadata["tab_name"] is None:
plugin_metadata["tab_name"] = plugin.plugin_name
plugin_metadata["enabled"] = is_active
es_module_handler = plugin_metadata.pop("es_module_path")
element_name = plugin_metadata.pop("element_name")
if element_name is not None and es_module_handler is not None:
logger.error(
"Plugin %r declared as both legacy and iframed; skipping",
After Change
}
if plugin_metadata.tab_name is not None:
output_metadata["tab_name"] = plugin_metadata.tab_name
else:
output_metadata["tab_name"] = plugin.plugin_name