Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current 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')
)