public function TcaPluginBase::getBundleFormSubmitHandlerAttachLocations in Token Content Access 8
Same name and namespace in other branches
- 2.0.x src/Plugin/TcaPluginBase.php \Drupal\tca\Plugin\TcaPluginBase::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 TcaPluginInterface::getBundleFormSubmitHandlerAttachLocations
2 methods override TcaPluginBase::getBundleFormSubmitHandlerAttachLocations()
- Node::getBundleFormSubmitHandlerAttachLocations in modules/
tca_node/ src/ Plugin/ TcaPlugin/ Node.php  - Return locations to attach submit handlers to entity bundles.
 - Product::getBundleFormSubmitHandlerAttachLocations in modules/
tca_commerce_product/ src/ Plugin/ TcaPlugin/ Product.php  - Return locations to attach submit handlers to entity bundles.
 
File
- src/
Plugin/ TcaPluginBase.php, line 29  
Class
- TcaPluginBase
 - Base class for TCA plugins.
 
Namespace
Drupal\tca\PluginCode
public function getBundleFormSubmitHandlerAttachLocations() {
  return [
    [
      'actions',
      'submit',
      '#submit',
    ],
  ];
}