def new_tag_params
      # take params from front-end request
      tag_params = params.require(:tag).permit(:title).to_h
      # add current superuser id
      tag_params[:lato_core_superuser_creator_id] = @core__current_superuser.id
      # add post parent id
      tag_params[:lato_blog_tag_parent_id] = (params[:parent] && !params[:parent].blank? ? params[:parent] : generate_tag_parent)
      # add metadata
      tag_params[:meta_language] = cookies[:lato_blog__current_language]
      # return final post object
      return tag_params
    end
def new_tag_params
      # take params from front-end request
      tag_params = params.require(:tag).permit(:title).to_h
      # add current superuser id
      tag_params[:lato_core_superuser_creator_id] = @core__current_superuser.id
      # add post parent id
      tag_params[:lato_blog_tag_parent_id] = (params[:parent] && !params[:parent].blank? ? params[:parent] : generate_tag_parent)
      # add metadata
      tag_params[:meta_language] = cookies[:lato_blog__current_language]
      # return final post object
      return tag_params
    end
Params helpers:
 This function generate params for a new tag.