3 namespace Drupal\views\Plugin\views\argument;
6 * Argument handler for a full date (CCYYMMDD)
8 * @ViewsArgument("date_fulldate")
10 class FullDate extends Date {
15 protected $format = 'F j, Y';
20 protected $argFormat = 'Ymd';
23 * Provide a link to the next level of the view
25 public function summaryName($data) {
26 $created = $data->{$this->name_alias};
27 return format_date(strtotime($created . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');
31 * Provide a link to the next level of the view
33 public function title() {
34 return format_date(strtotime($this->argument . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');