YearDate.php
Same filename in this branch
Same filename in other branches
- 9 core/modules/views/src/Plugin/views/argument/YearDate.php
- 9 core/modules/datetime/src/Plugin/views/argument/YearDate.php
- 8.9.x core/modules/views/src/Plugin/views/argument/YearDate.php
- 8.9.x core/modules/datetime/src/Plugin/views/argument/YearDate.php
- 10 core/modules/views/src/Plugin/views/argument/YearDate.php
- 10 core/modules/datetime/src/Plugin/views/argument/YearDate.php
Namespace
Drupal\datetime\Plugin\views\argumentFile
-
core/
modules/ datetime/ src/ Plugin/ views/ argument/ YearDate.php
View source
<?php
namespace Drupal\datetime\Plugin\views\argument;
use Drupal\views\Attribute\ViewsArgument;
/**
* Argument handler for a year.
*/
class YearDate extends Date {
/**
* {@inheritdoc}
*/
protected $argFormat = 'Y';
}
Classes
Title | Deprecated | Summary |
---|---|---|
YearDate | Argument handler for a year. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.