parameters: (self, module_name, handler_name, args=(), kwargs=None, deprecated=None, disabled=False)
docstring: Calls a function in a hook module.
  
          Notes: If deprecated is True, a warning is displayed if the hook method exists. It is still invoked.
  
          :param module_name: the name of the module
          :param handler_name: - the name of the function
          :param args: (named) - a list containing the positional args passed to the handler. Default is ().
          :param kwargs: (named) - dict containing the key word args passed to the handler. Default is None.
          :param deprecated: (named) - indicates if this is a deprecated hook. Default is False.
          :param disabled:
docstring_summary: Calls a function in a hook module.
docstring_tokens: Calls a function in a hook module .
function: def call_module_handlers(self, module_name, handler_name, args=(), kwargs=None, deprecated=None, disabled=False):
          """Calls a function in a hook module.
  
          Notes: If deprecated is True, a warning is displayed if the hook method exists. It is still invoked.
  
          :param module_name: the name of the module
          :param handler_name: - the name of the function
          :param args: (named) - a list containing the positional args passed to the handler. Default is ().
          :param kwargs: (named) - dict containing the key word args passed to the handler. Default is None.
          :param deprecated: (named) - indicates if this is a deprecated hook. Default is False.
          :param disabled:
          """
  
          if kwargs is None:
              kwargs = {}
          if not self.__hook_modules.get(module_name, None):
              self.load_modules(module_name)
  
          hook_modules = self.__hook_modules[module_name]
  
          for hook_module in hook_modules:
              if not disabled and hook_module.is_disabled:
                  continue
              hook_module.call_handler(handler_name, args=args, kwargs=kwargs, deprecated=deprecated)
function_tokens: def call_module_handlers ( self , module_name , handler_name , args = ( ) , kwargs = None , deprecated = None , disabled = False ) : if kwargs is None : kwargs = { } if not self . __hook_modules . get ( module_name , None ) : self . load_modules ( module_name ) hook_modules = self . __hook_modules [ module_name ] for hook_module in hook_modules : if not disabled and hook_module . is_disabled : continue hook_module . call_handler ( handler_name , args = args , kwargs = kwargs , deprecated = deprecated )