mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
fix folder name
This commit is contained in:
32
src/Bundle/ChillDocStoreBundle/config/routes.yaml
Normal file
32
src/Bundle/ChillDocStoreBundle/config/routes.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
app:
|
||||
resource: "@ChillDocStoreBundle/Controller/"
|
||||
type: annotation
|
||||
|
||||
## ADMIN SECTION
|
||||
chill_docstore_admin:
|
||||
path: /{_locale}/admin/document
|
||||
controller: Chill\DocStoreBundle\Controller\AdminController::indexAction
|
||||
options:
|
||||
menus:
|
||||
admin_section:
|
||||
order: 2200
|
||||
label: "Documents configuration menu"
|
||||
icons: ['calendar']
|
||||
|
||||
chill_docstore_admin_redirect_to_admin_index:
|
||||
path: /{_locale}/admin/document_redirect_to_main
|
||||
controller: Chill\DocStoreBundle\Controller\AdminController::redirectToAdminIndexAction
|
||||
options:
|
||||
menus:
|
||||
admin_docstore:
|
||||
order: 0
|
||||
label: Main admin menu
|
||||
|
||||
chill_docstore_category_admin:
|
||||
path: /{_locale}/admin/document/category
|
||||
controller: Chill\DocStoreBundle\Controller\DocumentCategoryController::indexAction
|
||||
options:
|
||||
menus:
|
||||
admin_docstore:
|
||||
order: 90
|
||||
label: "Documents categories"
|
26
src/Bundle/ChillDocStoreBundle/config/services.yaml
Normal file
26
src/Bundle/ChillDocStoreBundle/config/services.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
parameters:
|
||||
# cl_chill_person.example.class: Chill\PersonBundle\Example
|
||||
|
||||
services:
|
||||
Chill\DocStoreBundle\Form\DocumentCategoryType:
|
||||
class: Chill\DocStoreBundle\Form\DocumentCategoryType
|
||||
arguments: ['%kernel.bundles%']
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\DocStoreBundle\Form\PersonDocumentType:
|
||||
class: Chill\DocStoreBundle\Form\PersonDocumentType
|
||||
arguments:
|
||||
- "@chill.main.helper.translatable_string"
|
||||
tags:
|
||||
- { name: form.type, alias: chill_docstorebundle_form_document }
|
||||
|
||||
Chill\DocStoreBundle\Security\Authorization\PersonDocumentVoter:
|
||||
class: Chill\DocStoreBundle\Security\Authorization\PersonDocumentVoter
|
||||
arguments:
|
||||
- "@security.access.decision_manager"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@logger"
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
- { name: chill.role }
|
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
Chill\DocStoreBundle\Controller\:
|
||||
resource: '../../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\DocStoreBundle\Controller\DocumentPersonController:
|
||||
arguments:
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||
tags: ['controller.service_arguments']
|
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
Chill\DocStoreBundle\DataFixtures\ORM\:
|
||||
resource: ../../DataFixtures/ORM
|
||||
tags: [ 'doctrine.fixture.orm' ]
|
6
src/Bundle/ChillDocStoreBundle/config/services/form.yaml
Normal file
6
src/Bundle/ChillDocStoreBundle/config/services/form.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
Chill\DocStoreBundle\Form\StoredObjectType:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
tags:
|
||||
- { name: form.type }
|
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
chill_doc_store.persistence_checker:
|
||||
class: Chill\DocStoreBundle\Object\PersistenceChecker
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
|
||||
Chill\DocStoreBundle\Object\ObjectToAsyncFileTransformer:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
8
src/Bundle/ChillDocStoreBundle/config/services/menu.yaml
Normal file
8
src/Bundle/ChillDocStoreBundle/config/services/menu.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
Chill\DocStoreBundle\Menu\MenuBuilder:
|
||||
arguments:
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
Reference in New Issue
Block a user