framework/RedKiteCms/Rendering/Controller/Page/HidePageController.php
public function hide(array $options)
    {
        $request = $options["request"];
        $pageName = $request->get('page');
        $languageName = $request->get('language') . '_' . $request->get('country');
        $options["page_manager"]
            ->contributor($options["username"])
            ->hide($pageName, $languageName);

        return $this->buildJSonResponse(array());
    }
public function hide(array $options)
    {
        $request = $options["request"];
        $pageName = $request->get('page');
        $languageName = $request->get('language') . '_' . $request->get('country');
        $options["page_manager"]
            ->contributor($options["username"])
            ->hide($pageName, $languageName);

        return $this->buildJSonResponse(array());
    }
Implements the action to hide a page from production
@param array $options

@return \Symfony\Component\HttpFoundation\Response