code: def _generic_hook(self, name, **kwargs):
          
          entries = [entry for entry in self._plugin_manager.call_hook(name, **kwargs) if entry is not None]
          return "\n".join(entries)
docs: A generic hook that links the TemplateHelper with PluginManager