sylius.yml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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_notebook.notebook:
  65. driver: doctrine/orm
  66. templates: ChamiloNotebookBundle:Notebook
  67. classes:
  68. model: Chamilo\NotebookBundle\Entity\CNotebook
  69. controller: Chamilo\NotebookBundle\Controller\NotebookController
  70. repository: Chamilo\NotebookBundle\Entity\NotebookRepository
  71. # Course settings
  72. chamilo_course:
  73. driver: doctrine/orm
  74. resources:
  75. parameter:
  76. classes:
  77. model: Chamilo\CourseBundle\Entity\CCourseSetting
  78. repository: Chamilo\CourseBundle\Entity\Repository\CCourseSettingRepository
  79. doctrine_cache:
  80. providers:
  81. sylius_settings:
  82. type: file_system
  83. chamilo_settings:
  84. type: file_system