controllers/Controller/Cms/BackendController.php
protected function options(Request $request, Application $app)
    {
        $options = parent::options($request, $app);
        $configurationHandler = $app["red_kite_cms.configuration_handler"];

        $options["skin"] = $configurationHandler->skin();
        $options["page_renderer"] = $app["red_kite_cms.page_renderer_backend"];
        $options["languages"] = $configurationHandler->languages();
        $options["username"] = $this->fetchUsername($app["security"], $configurationHandler);
        $options["form_factory"] = $app["form.factory"];
        $options["serializer"] = $app["jms.serializer"];
        $options["toolbar_manager"] = $app["red_kite_cms.toolbar_manager"];

        return $options;
    }
protected function options(Request $request, Application $app)
    {
        $options = parent::options($request, $app);
        $configurationHandler = $app["red_kite_cms.configuration_handler"];

        $options["skin"] = $configurationHandler->skin();
        $options["page_renderer"] = $app["red_kite_cms.page_renderer_backend"];
        $options["languages"] = $configurationHandler->languages();
        $options["username"] = $this->fetchUsername($app["security"], $configurationHandler);
        $options["form_factory"] = $app["form.factory"];
        $options["serializer"] = $app["jms.serializer"];
        $options["toolbar_manager"] = $app["red_kite_cms.toolbar_manager"];

        return $options;
    }
Sets the options required by parent class

@param \Symfony\Component\HttpFoundation\Request $request
@param \Silex\Application                        $app
@return array