/**
   * {@inheritdoc}
   */
  public function tableFields($bundles) {
    $fields = parent::tableFields($bundles);
    $fields['label']['label'] = t('Title');
    $fields['status'] = [
      'type' => 'field',
      'label' => t('Status'),
      'weight' => 100,
      'display_options' => [
        'settings' => [
          'format' => 'custom',
          'format_custom_true' => t('Active'),
          'format_custom_false' => t('Inactive'),
        ],
      ],
    ];

    return $fields;
  }
 /**
  * {@inheritdoc}
  */
 public function tableFields($bundles)
 {
     $fields = parent::tableFields($bundles);
     $fields['status'] = ['type' => 'field', 'label' => $this->t('Status'), 'weight' => 100, 'display_options' => array('settings' => array('format' => 'custom', 'format_custom_false' => $this->t('Unpublished'), 'format_custom_true' => $this->t('Published')))];
     return $fields;
 }