Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
YearDate | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
0 | |
100.00% |
0 / 0 |
<?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'; | |
} |