You are here

public function RabbitHoleEntityPluginInterface::getBundleFormSubmitHandlerAttachLocations in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x src/Plugin/RabbitHoleEntityPluginInterface.php \Drupal\rabbit_hole\Plugin\RabbitHoleEntityPluginInterface::getBundleFormSubmitHandlerAttachLocations()

Return locations to attach submit handlers to entity bundle form.

This should return an array of arrays, e.g.: [ ['actions', 'submit', '#publish'], ['actions', 'publish', '#submit'], ].

Return value

array A multidimensional array.

1 method overrides RabbitHoleEntityPluginInterface::getBundleFormSubmitHandlerAttachLocations()
RabbitHoleEntityPluginBase::getBundleFormSubmitHandlerAttachLocations in src/Plugin/RabbitHoleEntityPluginBase.php
Return locations to attach submit handlers to entity bundle form.

File

src/Plugin/RabbitHoleEntityPluginInterface.php, line 36

Class

RabbitHoleEntityPluginInterface
Defines an interface for Rabbit hole entity plugin plugins.

Namespace

Drupal\rabbit_hole\Plugin

Code

public function getBundleFormSubmitHandlerAttachLocations(array $form, FormStateInterface $form_state);