public defineAddBasketForm ( Sonata\Component\Product\ProductInterface $product, |
||
$product | Sonata\Component\Product\ProductInterface | A Sonata product instance |
$formBuilder | Symfony form builder | |
$showQuantity | boolean | Specifies if quantity field will be displayed (default true) |
$options | array | An options array |