def METHOD_NAME(self, task, config):
    if not self.phase_jobs['metainfo']:
        # return if no jobs for this phase
        return
    modified = sum(self.process(entry, self.phase_jobs['metainfo']) for entry in task.entries)
    logger.verbose('Modified {} entries.', modified)