public function Product::getBundleFormSubmitHandlerAttachLocations in Token Content Access 2.0.x
Same name and namespace in other branches
- 8 modules/tca_commerce_product/src/Plugin/TcaPlugin/Product.php \Drupal\tca_commerce_product\Plugin\TcaPlugin\Product::getBundleFormSubmitHandlerAttachLocations()
Return locations to attach submit handlers to entity bundles.
This should return an array of arrays, e.g.: [ ['actions', 'submit', '#publish'], ['actions', 'publish', '#submit'], ].
Return value
array A multidimensional array.
Overrides TcaPluginBase::getBundleFormSubmitHandlerAttachLocations
File
- modules/
tca_commerce_product/ src/ Plugin/ TcaPlugin/ Product.php, line 37
Class
- Product
- Implements TCA for commerce products.
Namespace
Drupal\tca_commerce_product\Plugin\TcaPluginCode
public function getBundleFormSubmitHandlerAttachLocations() {
return [
[
'actions',
'submit',
'#submit',
],
[
'actions',
'save_continue',
'#submit',
],
];
}