You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?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
- ];
- }
- }
|