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