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 responsible for providing configurable countries list
Option | Type | Default value | Description |
---|
$builder->add(
(new Filter('id_country', ConfigurableCountryChoiceType::class))
->setTypeOptions([
'required' => false,
'contains_states' => true,
'choice_translation_domain' => false,
])
->setAssociatedColumn('country_name')
)