You are here

public static function CalendarPager::create in Calendar 8.2

Create function for Date query

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container.

array $configuration: The configuration.

string $plugin_id: The plugin.

mixed $plugin_definition: The plugin implementation definition.

Return value

static

Overrides PluginBase::create

File

src/Plugin/views/pager/CalendarPager.php, line 93

Class

CalendarPager
The plugin to handle calendar pager.

Namespace

Drupal\calendar\Plugin\views\pager

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('calendar.helper'));
}