From 25981b45f659eb6c160c968679427b2dd06b92a9 Mon Sep 17 00:00:00 2001 From: naomi Date: Wed, 11 Apr 2018 19:33:52 +0200 Subject: [PATCH] When person has no hats, hat creator show in content pane. --- .../views.view.this_person_s_hats.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/config/optional/views.view.this_person_s_hats.yml b/config/optional/views.view.this_person_s_hats.yml index 719d945..096acdf 100644 --- a/config/optional/views.view.this_person_s_hats.yml +++ b/config/optional/views.view.this_person_s_hats.yml @@ -1,6 +1,8 @@ langcode: en status: true dependencies: + config: + - block.block.hatcreator module: - zencrm_entities id: this_person_s_hats @@ -244,7 +246,7 @@ display: exclude: false alter: alter_text: true - text: 'Edit' + text: '
Edit
' make_link: false path: '' absolute: false @@ -287,7 +289,20 @@ display: title: 'This Person''s Hats' header: { } footer: { } - empty: { } + empty: + entity_block: + id: entity_block + table: views + field: entity_block + relationship: none + group_type: group + admin_label: '' + empty: true + tokenize: true + target: hatcreator + view_mode: default + bypass_access: false + plugin_id: entity relationships: { } arguments: person: