Warning: You are browsing the documentation for PrestaShop 8, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

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