From 66fcd30239e4768670addb2bf12933c466c5f5f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Egi=CC=81o?= Date: Thu, 4 Aug 2016 14:08:58 +0200 Subject: [PATCH] Issue #2694685 PHP Fatal error when adding an action. --- src/Plugin/RulesAction/EntityCreateDeriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/RulesAction/EntityCreateDeriver.php b/src/Plugin/RulesAction/EntityCreateDeriver.php index 7f017960..44854500 100644 --- a/src/Plugin/RulesAction/EntityCreateDeriver.php +++ b/src/Plugin/RulesAction/EntityCreateDeriver.php @@ -85,7 +85,7 @@ public function getDerivativeDefinitions($base_plugin_definition) { $base_field_definitions = $this->entityFieldManager->getBaseFieldDefinitions($entity_type_id); foreach ($base_field_definitions as $field_name => $definition) { if ($field_name != $bundle_key && !$definition->isRequired()) { - continue; + continue 2; } $item_definition = $definition->getItemDefinition();