You are here

public function RabbitHoleEntityPluginInterface::getFormSubmitHandlerAttachLocations in Rabbit Hole 2.x

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

Return locations to attach submit handlers to entities.

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

1 method overrides RabbitHoleEntityPluginInterface::getFormSubmitHandlerAttachLocations()
RabbitHoleEntityPluginBase::getFormSubmitHandlerAttachLocations in src/Plugin/RabbitHoleEntityPluginBase.php
Return locations to attach submit handlers to entities.

File

src/Plugin/RabbitHoleEntityPluginInterface.php, line 22

Class

RabbitHoleEntityPluginInterface
Defines an interface for Rabbit hole entity plugin plugins.

Namespace

Drupal\rabbit_hole\Plugin

Code

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