Skip to content
Snippets Groups Projects
Commit 4e072bb3 authored by Masami  Suzuki's avatar Masami Suzuki Committed by Yas Naoi
Browse files

Issue #3073395 by Masami, yas: Hide the "Publishing status" check box in Cloud...

Issue #3073395 by Masami, yas: Hide the "Publishing status" check box in Cloud Service Provider and Cloud Server Template
parent cc4a2321
No related branches found
No related tags found
No related merge requests found
......@@ -364,7 +364,6 @@ trait AwsCloudTestFormDataTrait {
'field_image_id' => 1,
'field_min_count[0][value]' => 1,
'field_max_count[0][value]' => 1,
'status[value]' => '1',
'field_kernel_id[0][value]' => 'aki-' . $this->getRandomAwsId(),
'field_ram[0][value]' => 'ari-' . $this->getRandomAwsId(),
'field_security_group' => 1,
......
......@@ -362,10 +362,7 @@ class CloudConfig extends RevisionableContentEntityBase implements CloudConfigIn
->setDescription(t('A boolean indicating whether the Cloud config is published.'))
->setRevisionable(TRUE)
->setDefaultValue(TRUE)
->setDisplayOptions('form', [
'type' => 'boolean_checkbox',
'weight' => 100,
]);
->setReadOnly(TRUE);
$fields['created'] = BaseFieldDefinition::create('created')
->setLabel(t('Created'))
......
......@@ -310,10 +310,7 @@ class CloudServerTemplate extends RevisionableContentEntityBase implements Cloud
->setDescription(t('A boolean indicating whether the Cloud Server Template is published.'))
->setRevisionable(TRUE)
->setDefaultValue(TRUE)
->setDisplayOptions('form', [
'type' => 'boolean_checkbox',
'weight' => 100,
]);
->setReadOnly(TRUE);
$fields['created'] = BaseFieldDefinition::create('created')
->setLabel(t('Created'))
......
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