contextualcode/ezplatform-preview-siteaccess-matcher-bundle

eZ Platform bundle which sets correct default siteaccess in admin preview.

v2.1 2020-11-30 15:51 UTC

This package is not auto-updated.

Last update: 2021-11-30 01:47:08 UTC


README

eZ Platform 3.0 bundle which sets correct default siteaccess in admin preview.

Installation

  • Run composer require:
$ composer require contextualcode/ezplatform-preview-siteaccess-matcher-bundle
  • Enable this bundle in config/bundles.php by adding this line:
    return [
        ...,
        ContextualCode\EzPlatformPreviewSiteAccessMatcherBundle\ContextualCodeEzPlatformPreviewSiteAccessMatcherBundle::class => ['all' => true],
    ];

And then add this to the bottom of your app/config/routing.yml:

contextual_code_ezplatform_preview_siteaccess_matcher:
    resource: "@ContextualCodeEzPlatformPreviewSiteAccessMatcherBundle/Resources/config/routing.yml"