Eccube\Controller\Admin\Content\PageController::index PHP Method

index() public method

public index ( Application $app, Request $request )
$app Eccube\Application
$request Symfony\Component\HttpFoundation\Request
    public function index(Application $app, Request $request)
    {
        $DeviceType = $app['eccube.repository.master.device_type']->find(DeviceType::DEVICE_TYPE_PC);
        $PageLayouts = $app['eccube.repository.page_layout']->getPageList($DeviceType);
        $event = new EventArgs(array('DeviceType' => $DeviceType, 'PageLayouts' => $PageLayouts), $request);
        $app['eccube.event.dispatcher']->dispatch(EccubeEvents::ADMIN_CONTENT_PAGE_INDEX_COMPLETE, $event);
        return $app->render('Content/page.twig', array('PageLayouts' => $PageLayouts));
    }