function commerce_pado_entity_type_build in Commerce Product Add-on 8
Implements hook_entity_type_build().
File
- ./
commerce_pado.module, line 57 - Commerce Product Add On module file.
Code
function commerce_pado_entity_type_build(array &$entity_types) {
$entity_types['commerce_order_item']
->setFormClass('pado_add_to_cart', '\\Drupal\\commerce_pado\\Form\\PadoAddToCartForm');
}