Add EdgarEzUIContentsByTypeBundle by running this command from the terminal at the root of your symfony project:
composer require edgar/ez-uicontentsbytype-bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Edgar\EzUIContentsByTypeBundle\EdgarEzUIContentsByTypeBundle(),
// ...
);
}
Add to your global configuration app/config/routing.yml
edgar.ezuicontentsbytype:
resource: '@EdgarEzUIContentsByTypeBundle/Resources/config/routing.yml'
defaults:
siteaccess_group_whitelist: 'admin_group'