def METHOD_NAME(self, target):
    """Returns a list of actions for use in the extension's entry
    in a menu. By default this is a list of all available
    actions, sorted by the display text. For custom sorting or
    a custom selection this method can be overridden."""
    action_list = self._action_lists.get(target, None)
    if action_list is None:
        action_list = self._action_lists[target] = self.by_text()
    return action_list