function quantity_theme in farmOS 2.x
Implements hook_theme().
File
- modules/
core/ quantity/ quantity.module, line 153 - Quantity module.
Code
function quantity_theme() {
return [
'quantity' => [
'render element' => 'elements',
],
'field__quantity__field' => [
'template' => 'field--quantity--field',
'base hook' => 'field',
],
];
}