WeekDate.php

Same filename in this branch
  1. 9 core/modules/views/src/Plugin/views/argument/WeekDate.php
Same filename in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/WeekDate.php
  2. 8.9.x core/modules/datetime/src/Plugin/views/argument/WeekDate.php
  3. 10 core/modules/views/src/Plugin/views/argument/WeekDate.php
  4. 10 core/modules/datetime/src/Plugin/views/argument/WeekDate.php
  5. 11.x core/modules/views/src/Plugin/views/argument/WeekDate.php
  6. 11.x core/modules/datetime/src/Plugin/views/argument/WeekDate.php

Namespace

Drupal\datetime\Plugin\views\argument

File

core/modules/datetime/src/Plugin/views/argument/WeekDate.php

View source
<?php

namespace Drupal\datetime\Plugin\views\argument;


/**
 * Argument handler for a week.
 *
 * @ViewsArgument("datetime_week")
 */
class WeekDate extends Date {
    
    /**
     * {@inheritdoc}
     */
    protected $argFormat = 'W';

}

Classes

Title Deprecated Summary
WeekDate Argument handler for a week.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.