public function TcaPluginBase::getFormSubmitHandlerAttachLocations in Token Content Access 8
Same name and namespace in other branches
- 2.0.x src/Plugin/TcaPluginBase.php \Drupal\tca\Plugin\TcaPluginBase::getFormSubmitHandlerAttachLocations()
Return locations to attach submit handlers to entities.
This should return an array of arrays, e.g.: [ ['actions', 'submit', '#publish'], ['actions', 'publish', '#submit'], ].
Overrides TcaPluginInterface::getFormSubmitHandlerAttachLocations
2 methods override TcaPluginBase::getFormSubmitHandlerAttachLocations()
- Node::getFormSubmitHandlerAttachLocations in modules/
tca_node/ src/ Plugin/ TcaPlugin/ Node.php - Return locations to attach submit handlers to entities.
- Product::getFormSubmitHandlerAttachLocations in modules/
tca_commerce_product/ src/ Plugin/ TcaPlugin/ Product.php - Return locations to attach submit handlers to entities.
File
- src/
Plugin/ TcaPluginBase.php, line 22
Class
- TcaPluginBase
- Base class for TCA plugins.
Namespace
Drupal\tca\PluginCode
public function getFormSubmitHandlerAttachLocations() {
return [
[
'actions',
'submit',
'#submit',
],
];
}