OpignoModuleFinished.php in Opigno module 3.x
File
src/Plugin/views/field/OpignoModuleFinished.php
View source
<?php
namespace Drupal\opigno_module\Plugin\views\field;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\field\Date;
class OpignoModuleFinished extends Date {
public function usesGroupBy() {
return FALSE;
}
protected function defineOptions() {
$options = parent::defineOptions();
$options['hide_alter_empty'] = [
'default' => FALSE,
];
return $options;
}
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
}
}