sylius.yml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #sylius_attribute:
  2. # driver: doctrine/orm
  3. # resources:
  4. # subject_name:
  5. # subject: Chamilo\UserBundle\Entity\User # Required: The subject class implementing `AttributeSubjectInterface`.
  6. # attribute:
  7. # classes:
  8. # model: Sylius\Component\Attribute\Model\Attribute
  9. # interface: Sylius\Component\Attribute\Model\AttributeInterface
  10. # repository: Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository
  11. # controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
  12. # factory: Sylius\Component\Resource\Factory\Factory
  13. # form:
  14. # default: Sylius\Bundle\AttributeBundle\Form\Type\AttributeType
  15. # choice: Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType
  16. # validation_groups:
  17. # default: [ sylius ]
  18. ## translation:
  19. ## classes:
  20. ## model: Sylius\Component\Attribute\Model\AttributeTranslation
  21. ## interface: Sylius\Component\Attribute\Model\AttributeTranslationInterface
  22. ## controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
  23. ## repository: ~ # Required: The repository class for the attribute translation.
  24. ## factory: Sylius\Component\Resource\Factory\Factory
  25. ## form:
  26. ## default: Sylius\Bundle\AttributeBundle\Form\Type\AttributeTranslationType
  27. ## validation_groups:
  28. ## default: [ sylius ]
  29. # attribute_value:
  30. # classes:
  31. # model: Chamilo\CoreBundle\Entity\ExtraFieldValues # Required: The model of the attribute value
  32. # interface: Sylius\Component\Attribute\Model\AttributeValueInterface # Required: The interface of the attribute value
  33. # controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
  34. # repository: Chamilo\CoreBundle\Entity\Repository\ExtraFieldValuesRepository # Required: The repository class for the attribute value.
  35. # factory: Sylius\Component\Resource\Factory\Factory
  36. # form:
  37. # default: Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType
  38. # validation_groups:
  39. # default: [ sylius ]
  40. #sylius_resource:
  41. # resources:
  42. # chamilo_course.c_tool_intro:
  43. # driver: doctrine/orm
  44. # object_manager: default
  45. # templates: ChamiloCourseBundle:CToolIntro
  46. # classes:
  47. # model: Chamilo\CourseBundle\Entity\CToolIntro
  48. ## interface: MyApp\Entity\EntityNameInterface
  49. # controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
  50. ## repository: Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository
  51. # repository: Chamilo\CourseBundle\Entity\Repository\CToolIntroRepository
  52. #
  53. #
  54. # Platform settings (new)
  55. sylius_settings:
  56. driver: doctrine/orm
  57. # resources:
  58. # settings:
  59. # classes:
  60. # model: Chamilo\CoreBundle\Entity\SettingsCurrent
  61. # repository: Chamilo\CoreBundle\Entity\Repository\SettingsCurrentRepository
  62. sylius_resource:
  63. resources:
  64. # chamilo_course.c_tool_intro:
  65. # driver: doctrine/orm
  66. # classes:
  67. # model: Chamilo\CourseBundle\Entity\CToolIntro
  68. chamilo_notebook.notebook:
  69. driver: doctrine/orm
  70. templates: ChamiloNotebookBundle:Notebook
  71. classes:
  72. model: Chamilo\NotebookBundle\Entity\CNotebook
  73. controller: Chamilo\NotebookBundle\Controller\NotebookController
  74. repository: Chamilo\NotebookBundle\Entity\NotebookRepository
  75. # Course settings
  76. chamilo_course:
  77. driver: doctrine/orm
  78. resources:
  79. parameter:
  80. classes:
  81. model: Chamilo\CourseBundle\Entity\CCourseSetting
  82. repository: Chamilo\CourseBundle\Entity\Repository\CCourseSettingRepository
  83. doctrine_cache:
  84. providers:
  85. sylius_settings:
  86. type: file_system
  87. chamilo_settings:
  88. type: file_system