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
Class ProfileChoiceType is choice type for selecting employee’s profile.
Option | Type | Default value | Description |
---|
->add(
(new Filter('profile', ProfileChoiceType::class))
->setTypeOptions([
'required' => false,
])
->setAssociatedColumn('profile')
)