From 3226ce01d372aae29c22fecf0588da83d0826e81 Mon Sep 17 00:00:00 2001 From: naomi Date: Wed, 11 Apr 2018 13:11:54 +0200 Subject: [PATCH] added destination to hat creator popup so it returns to person page after creation. --- src/Plugin/Block/HatCreator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/Block/HatCreator.php b/src/Plugin/Block/HatCreator.php index f189a5a..25e5d14 100644 --- a/src/Plugin/Block/HatCreator.php +++ b/src/Plugin/Block/HatCreator.php @@ -31,7 +31,7 @@ class HatCreator extends BlockBase { ->loadByProperties(['type' => $id, 'person' => $person_id]); if (!reset($hats)) { $label = $type['label']; - $markup .= "

Create $label Hat

"; + $markup .= "

Create $label Hat

"; } } return [