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

Issue #3355256 by yas, baldwinlouie: Drupal 10.1.x compatibility: Fix missing...

Issue #3355256 by yas, baldwinlouie: Drupal 10.1.x compatibility: Fix missing schemas in views.view.aws_cloud_volume and openstack_volume (tooltip and time_diff)
parent 99928ba8
No related branches found
No related tags found
1 merge request!2058Issue #3355256: Drupal 10.1.x compatibility: Fix missing schemas in views.view.aws_cloud_volume and openstack_volume (tooltip and time_diff)
Pipeline #27672 passed
......@@ -3914,3 +3914,15 @@ function aws_cloud_update_8279(): void {
\Drupal::service('cloud')->updateYmlDefinitions($files, 'aws_cloud');
}
/**
* Update aws_cloud_volume.
*/
function aws_cloud_update_8280(): void {
$files = [
'views.view.aws_cloud_volume.yml',
];
\Drupal::service('cloud')->updateYmlDefinitions($files, 'aws_cloud');
}
......@@ -764,6 +764,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: short
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
......@@ -1509,6 +1518,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: short
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
......
......@@ -11,3 +11,32 @@ field.formatter.settings.unused_volume_date_formatter:
timezone:
type: string
label: 'Timezone'
tooltip:
type: mapping
label: Tooltip
mapping:
date_format:
type: string
label: 'Tooltip date format'
custom_date_format:
type: string
label: 'Tooltip custom date format'
time_diff:
type: mapping
label: 'Time difference'
mapping:
enabled:
type: boolean
label: 'Show as time difference'
future_format:
type: string
label: 'Future format'
past_format:
type: string
label: 'Past format'
granularity:
type: integer
label: 'Time units'
refresh:
type: integer
label: 'Refresh interval in seconds'
......@@ -728,6 +728,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: short
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
......@@ -1509,6 +1518,15 @@ display:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: short
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
group_column: value
group_columns: { }
group_rows: true
......
......@@ -3102,3 +3102,13 @@ function openstack_update_8335() {
$config->set('openstack_limit_resources_retrieve', 200);
$config->save();
}
/**
* Update openstack_volume.
*/
function openstack_update_8336(): void {
$files = [
'views.view.openstack_volume.yml',
];
\Drupal::service('cloud')->updateYmlDefinitions($files, 'openstack');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment