def METHOD_NAME(self, task, config):
    # Get a list of entries to inject
    injections = self.get_injections(task)
    if config:
        # If backlog is manually enabled for this task, learn the entries.
        self.learn_backlog(task, config)
    # Return the entries from backlog that are not already in the task
    return injections