You are here

public static function CalendarHelper::isCalendarArgument in Calendar 8

Argument can be used as calendar argument.

Parameters

\Drupal\views\Plugin\views\argument\ArgumentPluginBase $arg: The argument base object.

Return value

bool

1 call to CalendarHelper::isCalendarArgument()
CalendarHelper::getDateArgumentHandler in src/CalendarHelper.php
Helper function to find the first date argument handler for this view.

File

src/CalendarHelper.php, line 708

Class

CalendarHelper
Defines Gregorian Calendar date values.

Namespace

Drupal\calendar

Code

public static function isCalendarArgument(ArgumentPluginBase $arg) {
  return $arg instanceof ViewsDateArg;
}