Skip to content

Example of integration the custom policy with UI for eZ Platform v1.X and v2.X.

License

Notifications You must be signed in to change notification settings

adamwojs/custom-policy-example-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom-policy-example-bundle

This repository contains example of integration the custom policy with UI for eZ Platform v1.X and v2.X.

Installation

  1. Add the following repository to composer.json:
"repositories": [
    { 
        "type": "vcs", 
        "url": "https://github.com/adamwojs/custom-policy-example-bundle.git" 
    }
]
  1. Require the bundle with composer
composer require "adamwojs/custom-policy-example-bundle" "dev-master"
  1. Enable the bundle in the kernel:
<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new AdamWojs\CustomPolicyExampleBundle\CustomPolicyExampleBundle(),  
        // ...
    );
    
    // ...
}
  1. Done. In the "Add a new policy" form you will be able to select "Custom module / Custom function"

About

Example of integration the custom policy with UI for eZ Platform v1.X and v2.X.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published