Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
Component
Product
ProductProviderInterface
buildForm
Sonata\Component\Product\ProductProviderInterface::buildForm PHP Method
ProductProviderInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
buildForm()
public
method
Build form by adding provider fields.
public
buildForm
(
Symfony\Component\Form\FormBuilderInterface
$builder
,
array
$options
,
boolean
$isVariation
= false )
$builder
Symfony\Component\Form\FormBuilderInterface
Symfony form builder
$options
array
An options array
$isVariation
boolean
Is the product a variation of a master product?
public function buildForm(FormBuilderInterface $builder, array $options, $isVariation = false);
ProductProviderInterface
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createVariation
defineAddBasketForm
defineBasketElementForm
getBaseControllerName
getBasketElementManager
getCheapestEnabledVariation
getEnabledVariations
getFilters
getProductCategoryManager
getProductCollectionManager
getStockAvailable
getVariatedProperties
getVariation
getVariationsChoices
hasEnabledVariations
hasVariations
isAddableToBasket
isValidBasketElement
setBasketElementManager
setProductCategoryManager
setProductCollectionManager
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement