koala-framework/kwc-content-api

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

1.0.x-dev 2020-01-07 14:27 UTC

This package is auto-updated.

Last update: 2020-07-07 15:44:16 UTC


README

Installation

  • Add AppBundle to AppKernel.php

      public function registerBundles()
      {
          $bundles = array(
              ...
              new Kwf\KwcContentApiBundle\KwfKwcContentApiBundle()
          );
          ...
      }
    
  • Add routing config to routing.yml

      kwc_content_api:
          resource: "@KwcContentApiBundle/Resources/config/routing.yml"
          prefix:   /
    
  • Add components to be exported to whitelist in config.yml

    kwc_content_api: export_components: - Kwc_Paragraphs_Component - Kwc_Basic_Headline_Component