function FullDate::title in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/argument/FullDate.php \Drupal\views\Plugin\views\argument\FullDate::title()
Provide a link to the next level of the view
Overrides ArgumentPluginBase::title
File
- core/
modules/ views/ src/ Plugin/ views/ argument/ FullDate.php, line 38 - Contains \Drupal\views\Plugin\views\argument\FullDate.
Class
- FullDate
- Argument handler for a full date (CCYYMMDD)
Namespace
Drupal\views\Plugin\views\argumentCode
function title() {
return format_date(strtotime($this->argument . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');
}