Browse Source

Explicit declaration

pull/751/head
Alan Stanley 5 years ago
parent
commit
7f0b8a9fd4
  1. 1
      src/Plugin/ContextReaction/DerivativeReaction.php

1
src/Plugin/ContextReaction/DerivativeReaction.php

@ -21,6 +21,7 @@ class DerivativeReaction extends PresetReaction {
*/ */
public function buildConfigurationForm(array $form, FormStateInterface $form_state) { public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$actions = $this->actionStorage->loadMultiple(); $actions = $this->actionStorage->loadMultiple();
$options = [];
foreach ($actions as $action) { foreach ($actions as $action) {
$plugin = $action->getPlugin(); $plugin = $action->getPlugin();
if ($plugin instanceof AbstractGenerateDerivative) { if ($plugin instanceof AbstractGenerateDerivative) {

Loading…
Cancel
Save