'#title'=>$this->t('Allow pricing data to be updated during rendering of K8s blocks.'),
'#description'=>$this->t('This allows the pricing data to be updated if not found in cache. Turning this on could result in performance issues if there are many regions to update.'),
@@ -188,11 +201,23 @@ class K8sAdminSettings extends ConfigFormBase {
...
@@ -188,11 +201,23 @@ class K8sAdminSettings extends ConfigFormBase {
'#required'=>TRUE,
'#required'=>TRUE,
];
];
$form['k8s_update_pricing_data_cache']=[
$form['icon']=[
'#type'=>'checkbox',
'#type'=>'details',
'#title'=>$this->t('Allow pricing data to be updated during rendering of K8s Blocks.'),
'#title'=>$this->t('Icon'),
'#description'=>$this->t('This allows the pricing data to be updated if not found in cache. Turning this on could result in performance issues if there are many regions to update.'),