Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- <?php
-
- namespace Lc\CaracoleBundle\Definition\Field\Reduction;
-
- use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
- use Lc\CaracoleBundle\Definition\Field\AbstractFieldDefinition;
- use Lc\CaracoleBundle\Repository\Section\SectionStore;
- use Lc\SovBundle\Translation\TranslatorAdmin;
-
- class ReductionCartFieldDefinition extends AbstractFieldDefinition
- {
- protected SectionStore $sectionStore;
-
- public function __construct(TranslatorAdmin $translatorAdmin, SectionStore $sectionStore)
- {
- parent::__construct($translatorAdmin);
- $this->sectionStore = $sectionStore;
- }
-
- public function configureFields(): array
- {
- return [
- 'title' => TextField::new('title')->setSortable(true)
- // @TODO : à faire
- ];
- }
- }
|