• Fix the following code:
    K8sStorageClass.php
    $fields['provisioner'] = BaseFieldDefinition::create('string')
          ->setLabel(t('Provisioner'))
          ->setDescription(t('The type of the provisioner.'))
          ->setDisplayOptions('view', [
            'label' => 'inline',
            'type' => 'string',
            'weight' => -5,
          ])
          ->setReadOnly(TRUE);
        $fields['provisioner'] = BaseFieldDefinition::create('string')
          ->setLabel(t('Provisioner'))
          ->setDescription(t('The type of the provisioner.'))
          ->setDisplayOptions('view', [
            'label' => 'inline',
            'type' => 'string',
            'weight' => -5,
          ])
          ->setReadOnly(TRUE);
    
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yas created an issue. See original summary.

yas’s picture

I'll merge the patch to 8.x-2.x and close this issue as Fixed.

yas’s picture

Status: Needs review » Reviewed & tested by the community

  • yas committed 4a00623 on 8.x-2.x
    Issue #3104174 by yas: Fix duplicated codes
    
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.