You are here

public function BatTypeHandlerTypeCalendarsField::__construct in Booking and Availability Management Tools for Drupal 8

Constructs a BatTypeHandlerTypeCalendarsField object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.

Overrides HandlerBase::__construct

File

modules/bat_unit/src/Plugin/views/field/BatTypeHandlerTypeCalendarsField.php, line 41
This field handler aggregates calendar edit links for a Bat Type under a single field.

Class

BatTypeHandlerTypeCalendarsField
Plugin annotation @ViewsField("bat_type_handler_type_calendars_field");

Namespace

Drupal\bat_unit\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, PathValidatorInterface $path_validator) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->pathValidator = $path_validator;
}