class MonthDate

Same name in this branch
  1. 9 core/modules/views/src/Plugin/views/argument/MonthDate.php \Drupal\views\Plugin\views\argument\MonthDate
Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/argument/MonthDate.php \Drupal\views\Plugin\views\argument\MonthDate
  2. 11.x core/modules/datetime/src/Plugin/views/argument/MonthDate.php \Drupal\datetime\Plugin\views\argument\MonthDate

Argument handler for a month.

Plugin annotation

@ViewsArgument("datetime_month");

Hierarchy

Expanded class hierarchy of MonthDate

File

core/modules/datetime/src/Plugin/views/argument/MonthDate.php, line 10

Namespace

Drupal\datetime\Plugin\views\argument
View source
class MonthDate extends Date {
  
  /**
   * {@inheritdoc}
   */
  protected $argFormat = 'm';

}

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