public function Node::getBundleFormSubmitHandlerAttachLocations in Token Content Access 2.0.x
Same name and namespace in other branches
- 8 modules/tca_node/src/Plugin/TcaPlugin/Node.php \Drupal\tca_node\Plugin\TcaPlugin\Node::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_node/ src/ Plugin/ TcaPlugin/ Node.php, line 37
Class
- Node
- Implements TCA for nodes.
Namespace
Drupal\tca_node\Plugin\TcaPluginCode
public function getBundleFormSubmitHandlerAttachLocations() {
return [
[
'actions',
'submit',
'#submit',
],
[
'actions',
'save_continue',
'#submit',
],
];
}