2017 © Pedro Peláez
 

ezplatform-bundle siteaccess-routes-bundle

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

image

netgen/siteaccess-routes-bundle

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  • Wednesday, January 24, 2018
  • by emodric
  • Repository
  • 7 Watchers
  • 7 Stars
  • 2,639 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 13 % Grown

The README.md

Netgen Siteaccess Routes Bundle

Code Coverage Quality Score Downloads Latest stable License, (*1)

Netgen Siteaccess Routes Bundle is an Ibexa Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used., (*2)

By default, all routes are accessible in all siteaccesses. To specify in which siteaccess a route can be used, you will need to add an allowed_siteaccess param to the defaults section of a route or route import:, (*3)

netgen_site_blog:
    path: /blog
    controller: "netgen_site.controller.blog:blogAction"
    methods: [GET]
    defaults:
        allowed_siteaccess: cro

or, (*4)

_netgen_site:
    resource: "@NetgenSiteBundle/Resources/config/routing.yaml"
    defaults:
        allowed_siteaccess: cro

You can even specify an array of siteaccesses, or use siteaccess groups:, (*5)

defaults:
    allowed_siteaccess: [backend_group, cro]

As a special case, you can use _default keyword to signal that the route is also accessible in the default siteaccess, whichever siteaccess that may be., (*6)

defaults:
    allowed_siteaccess: [cro, _default]

If the route is not available in current siteaccess, a 404 Not Found response will be returned., (*7)

Installation

Use Composer:, (*8)

composer require netgen/siteaccess-routes-bundle

Activate in config/bundles.php:, (*9)

Netgen\Bundle\SiteAccessRoutesBundle\NetgenSiteAccessRoutesBundle::class => ['all' => true],

That's it. Configure the routes and go about your day., (*10)

License

GNU General Public License v2, (*11)

The Versions

24/01 2018

dev-master

9999999-dev https://github.com/netgen/NetgenSiteAccessRoutesBundle

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  Sources   Download

GPL-2.0 GPL-2.0-only

The Requires

 

The Development Requires

ezpublish ezplatform siteaccess netgen siteaccess-routes-bundle

24/01 2018

dev-new_directory_structure

dev-new_directory_structure https://github.com/netgen/NetgenSiteAccessRoutesBundle

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

ezpublish ezplatform siteaccess netgen siteaccess-routes-bundle

14/12 2017

1.1.0

1.1.0.0

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

15/05 2017

dev-scrutinizer

dev-scrutinizer

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

12/08 2016

1.0.0

1.0.0.0

Netgen Siteaccess Routes Bundle is an eZ Publish / eZ Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires