def METHOD_NAME(self, instance):
    """ Distribute all defined keys.
    All data are shared between all related
    instances in context.
    Args:
        instance (obj): publishing instance
    """
    context = instance.context
    instance_id = instance.data["instance_id"]
    if not context.data.get("editorialSharedData"):
        context.data["editorialSharedData"] = {}
    context.data["editorialSharedData"][instance_id] = {
        _k: _v for _k, _v in instance.data.items()
        if _k in self.SHARED_KEYS
    }