YearDate.php in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\datetime\Plugin\views\argumentFile
core/modules/datetime/src/Plugin/views/argument/YearDate.phpView source
<?php
/**
* @file
* Contains \Drupal\datetime\Plugin\views\argument\YearDate.
*/
namespace Drupal\datetime\Plugin\views\argument;
/**
* Argument handler for a year.
*
* @ViewsArgument("datetime_year")
*/
class YearDate extends Date {
/**
* {@inheritdoc}
*/
protected $argFormat = 'Y';
}