Skip to content
Snippets Groups Projects
Commit 783e3128 authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #3283959 by yas, TamakiFujino: Fix the title of the list view of "All...

Issue #3283959 by yas, TamakiFujino: Fix the title of the list view of "All AWS Cloud security group"
parent 8318d4bf
No related branches found
No related tags found
No related merge requests found
......@@ -3693,3 +3693,14 @@ function aws_cloud_update_8268(): void {
$aws_access_service->updatePermissions($entity->getCloudContext());
}
}
/**
* Update the title of the list view for "All AWS Cloud security group".
*/
function aws_cloud_update_8269(): void {
$files = [
'views.view.aws_cloud_security_group.yml',
];
\Drupal::service('cloud')->updateYmlDefinitions($files, 'aws_cloud');
}
......@@ -14,115 +14,19 @@ base_table: aws_cloud_security_group
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: none
options: { }
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: full
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
expose:
items_per_page: true
items_per_page_label: 'Items per page'
items_per_page_options: '10, 15, 20, 25, 50, 100'
items_per_page_options_all: true
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: ‹‹
next: ››
first: '« First'
last: 'Last »'
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: true
caption: ''
summary: ''
description: ''
columns:
cloud_context: cloud_context
name: name
group_id: group_id
vpc_id: vpc_id
operations: operations
info:
cloud_context:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
name:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
group_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
vpc_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
default: cloud_context
empty_table: false
row:
type: fields
title: 'AWS Cloud security groups'
fields:
security_group_bulk_form:
id: security_group_bulk_form
table: aws_cloud_security_group
field: security_group_bulk_form
entity_type: aws_cloud_security_group
plugin_id: security_group_bulk_form
label: ''
exclude: false
alter:
......@@ -133,8 +37,6 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
plugin_id: security_group_bulk_form
entity_type: aws_cloud_security_group
name:
id: name
table: aws_cloud_security_group
......@@ -142,6 +44,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
......@@ -197,9 +102,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
group_id:
id: group_id
table: aws_cloud_security_group
......@@ -207,6 +109,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: group_id
plugin_id: field
label: 'Group ID'
exclude: false
alter:
......@@ -262,9 +167,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: aws_cloud_security_group
entity_field: group_id
plugin_id: field
vpc_id:
id: vpc_id
table: aws_cloud_security_group
......@@ -272,6 +174,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: vpc_id
plugin_id: field
label: VPC
exclude: false
alter:
......@@ -329,9 +234,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: aws_cloud_security_group
entity_field: vpc_id
plugin_id: field
operations:
id: operations
table: aws_cloud_security_group
......@@ -339,6 +241,8 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
plugin_id: entity_operations
label: 'Operations links'
exclude: false
alter:
......@@ -381,15 +285,44 @@ display:
empty_zero: false
hide_alter_empty: true
destination: false
entity_type: aws_cloud_security_group
plugin_id: entity_operations
filters: { }
sorts: { }
title: 'AWS Cloud security groups'
header: { }
footer: { }
pager:
type: full
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
first: '« First'
last: 'Last »'
expose:
items_per_page: true
items_per_page_label: 'Items per page'
items_per_page_options: '10,15,20,25,50,100'
items_per_page_options_all: true
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: none
options: { }
cache:
type: tag
options: { }
empty: { }
relationships: { }
sorts: { }
arguments:
cloud_context:
id: cloud_context
......@@ -398,6 +331,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: string
default_action: default
exception:
value: all
......@@ -413,8 +349,8 @@ display:
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
......@@ -430,11 +366,75 @@ display:
path_case: none
transform_dash: false
break_phrase: false
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: string
display_extenders: { }
filters: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
cloud_context: cloud_context
name: name
group_id: group_id
vpc_id: vpc_id
operations: operations
default: cloud_context
info:
cloud_context:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
name:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
group_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
vpc_id:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
operations:
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: true
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
use_ajax: true
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: 0
contexts:
......@@ -444,23 +444,12 @@ display:
- url.query_args
tags: { }
all:
display_plugin: page
id: all
display_title: All
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: clouds/aws_cloud/security_group
access:
type: perm
options:
perm: 'list aws cloud security group'
defaults:
access: false
fields: false
arguments: false
query: false
display_description: ''
title: 'All AWS Cloud security groups'
fields:
cloud_context:
id: cloud_context
......@@ -469,6 +458,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: field
label: 'Cloud service provider ID'
exclude: false
alter:
......@@ -523,9 +515,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: field
name:
id: name
table: aws_cloud_security_group
......@@ -533,6 +522,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
......@@ -588,9 +580,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
group_id:
id: group_id
table: aws_cloud_security_group
......@@ -598,6 +587,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: group_id
plugin_id: field
label: 'Group ID'
exclude: false
alter:
......@@ -653,9 +645,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: aws_cloud_security_group
entity_field: group_id
plugin_id: field
vpc_id:
id: vpc_id
table: aws_cloud_security_group
......@@ -663,6 +652,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: vpc_id
plugin_id: field
label: VPC
exclude: false
alter:
......@@ -720,9 +712,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: aws_cloud_security_group
entity_field: vpc_id
plugin_id: field
operations:
id: operations
table: aws_cloud_security_group
......@@ -730,6 +719,8 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
plugin_id: entity_operations
label: 'Operations links'
exclude: false
alter:
......@@ -772,18 +763,29 @@ display:
empty_zero: false
hide_alter_empty: true
destination: false
entity_type: aws_cloud_security_group
plugin_id: entity_operations
access:
type: perm
options:
perm: 'list aws cloud security group'
arguments: { }
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags:
- all_aws_cloud_resource_views_access
defaults:
access: false
query: false
title: false
fields: false
arguments: false
display_description: ''
display_extenders: { }
path: clouds/aws_cloud/security_group
cache_metadata:
max-age: -1
contexts:
......@@ -793,20 +795,11 @@ display:
- user.permissions
tags: { }
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
display_plugin: entity_reference
position: 2
display_options:
display_extenders: { }
style:
type: entity_reference
options:
search_fields:
name: name
group_id: '0'
vpc_id: '0'
operations: '0'
fields:
name:
id: name
......@@ -815,6 +808,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
......@@ -870,13 +866,10 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
defaults:
fields: false
arguments: false
access: false
access:
type: perm
options:
perm: 'add cloud server templates'
arguments:
cloud_context:
id: cloud_context
......@@ -885,6 +878,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: string
default_action: default
exception:
value: all
......@@ -900,8 +896,8 @@ display:
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
......@@ -917,13 +913,19 @@ display:
path_case: none
transform_dash: false
break_phrase: false
entity_type: aws_cloud_security_group
entity_field: cloud_context
plugin_id: string
access:
type: perm
style:
type: entity_reference
options:
perm: 'add cloud server templates'
search_fields:
name: name
group_id: '0'
vpc_id: '0'
operations: '0'
defaults:
access: false
fields: false
arguments: false
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
......@@ -933,19 +935,19 @@ display:
- user.permissions
tags: { }
list:
display_plugin: page
id: list
display_title: List
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: clouds/aws_cloud/%cloud_context/security_group
access:
type: ViewsCloudContextAccess
options:
perm: 'list aws cloud security group'
defaults:
access: false
display_extenders: { }
path: clouds/aws_cloud/%cloud_context/security_group
cache_metadata:
max-age: 0
contexts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment