code: public function approve(array $options)
      {
          $pageName = $options["request"]->get('pageName');
          $seoData = $options["request"]->get('seo-data');
          $json = $options["page_manager"]
              ->contributor($options["username"])
              ->approve($pageName, $seoData["language"]);
  
          return $this->buildJSonResponse($json);
      }
docs: Implements the action to approve the page contribution
  @param array $options
  
  @return \Symfony\Component\HttpFoundation\Response