You are here

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

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

Return locations to attach submit handlers to the global config form.

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

1 method overrides RabbitHoleEntityPluginInterface::getGlobalFormSubmitHandlerAttachLocations()
RabbitHoleEntityPluginBase::getGlobalFormSubmitHandlerAttachLocations in src/Plugin/RabbitHoleEntityPluginBase.php
Return locations to attach submit handlers to the global config form.

File

src/Plugin/RabbitHoleEntityPluginInterface.php, line 58

Class

RabbitHoleEntityPluginInterface
Defines an interface for Rabbit hole entity plugin plugins.

Namespace

Drupal\rabbit_hole\Plugin

Code

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