Enable http status and use it for user login block visibility
This commit is contained in:
parent
d03c47d932
commit
2d74cdcf20
2 changed files with 35 additions and 0 deletions
34
config/sync/block.block.userlogin.yml
Normal file
34
config/sync/block.block.userlogin.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
uuid: bace00b3-a26c-4ee1-9aea-8e59f77b6a86
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- block_visibility_groups
|
||||
- http_client_error_status
|
||||
- user
|
||||
theme:
|
||||
- agarica
|
||||
id: userlogin
|
||||
theme: agarica
|
||||
region: bottom
|
||||
weight: 19
|
||||
provider: null
|
||||
plugin: user_login_block
|
||||
settings:
|
||||
id: user_login_block
|
||||
label: 'User login'
|
||||
provider: user
|
||||
label_display: visible
|
||||
visibility:
|
||||
condition_group:
|
||||
id: condition_group
|
||||
negate: false
|
||||
block_visibility_group: ''
|
||||
context_mapping: { }
|
||||
http_client_error_status:
|
||||
id: http_client_error_status
|
||||
request_401: 0
|
||||
request_403: 1
|
||||
request_404: 0
|
||||
negate: false
|
||||
context_mapping: { }
|
|
@ -76,6 +76,7 @@ module:
|
|||
hal: 0
|
||||
help: 0
|
||||
history: 0
|
||||
http_client_error_status: 0
|
||||
image: 0
|
||||
layout_discovery: 0
|
||||
link: 0
|
||||
|
|
Loading…
Reference in a new issue