koala-framework/kwc-menu-api

There is no license information available for the latest version (1.0.x-dev) of this package.

1.0.x-dev 2022-08-11 11:50 UTC

This package is auto-updated.

Last update: 2024-11-12 07:56:46 UTC


README

Repository for implementing controller to provide menu- and component-data over api-controller

Installation

Basic code changes

  • Add AppBundle to AppKernel.php

      public function registerBundles()
      {
          $bundles = array(
              ...
              new Kwc\MenuApiBundle\KwcMenuApiBundle()
          );
          ...
      }
    
  • Add routing config to routing.yml

      kwcmenuapi:
          resource: "@KwcMenuApiBundle/Resources/config/routing.yml"
          prefix:   /