ProfileChoiceType

Class ProfileChoiceType is choice type for selecting employee’s profile.

  • Namespace: PrestaShopBundle\Form\Admin\Type\Common\Team
  • Reference: ProfileChoiceType

Type options

Option Type Default value Description

Code example

->add(
    (new Filter('profile', ProfileChoiceType::class))
        ->setTypeOptions([
            'required' => false,
        ])
        ->setAssociatedColumn('profile')
)

Preview example

ProfileChoiceType rendered in form example