You are here

protected property YearDate::$argFormat in Drupal 8

Same name in this branch
  1. 8 core/modules/views/src/Plugin/views/argument/YearDate.php \Drupal\views\Plugin\views\argument\YearDate::argFormat
  2. 8 core/modules/datetime/src/Plugin/views/argument/YearDate.php \Drupal\datetime\Plugin\views\argument\YearDate::argFormat
Same name and namespace in other branches
  1. 9 core/modules/datetime/src/Plugin/views/argument/YearDate.php \Drupal\datetime\Plugin\views\argument\YearDate::argFormat

The date format used in the query.

Type: string

Overrides Date::$argFormat

File

core/modules/datetime/src/Plugin/views/argument/YearDate.php, line 15

Class

YearDate
Argument handler for a year.

Namespace

Drupal\datetime\Plugin\views\argument

Code

protected $argFormat = 'Y';