public function FullCalendar::__construct in FullCalendar 8.4
Same name in this branch
- 8.4 src/Plugin/views/style/FullCalendar.php \Drupal\fullcalendar\Plugin\views\style\FullCalendar::__construct()
- 8.4 src/Plugin/fullcalendar/type/FullCalendar.php \Drupal\fullcalendar\Plugin\fullcalendar\type\FullCalendar::__construct()
Same name and namespace in other branches
- 8.5 src/Plugin/views/style/FullCalendar.php \Drupal\fullcalendar\Plugin\views\style\FullCalendar::__construct()
- 8 src/Plugin/views/style/FullCalendar.php \Drupal\fullcalendar\Plugin\views\style\FullCalendar::__construct()
- 8.2 src/Plugin/views/style/FullCalendar.php \Drupal\fullcalendar\Plugin\views\style\FullCalendar::__construct()
- 8.3 src/Plugin/views/style/FullCalendar.php \Drupal\fullcalendar\Plugin\views\style\FullCalendar::__construct()
Constructs a new Fullcalendar object.
Parameters
array $configuration:
string $plugin_id:
mixed $plugin_definition:
\Drupal\Component\Plugin\PluginManagerInterface $fullcalendar_manager: FullCalendar Manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Entity\EntityFieldManagerInterface $field_manager: Entity Field Manager.
\Drupal\Core\Datetime\DateFormatter $date_formatter: The date formatter service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
Overrides PluginBase::__construct
File
- src/
Plugin/ views/ style/ FullCalendar.php, line 107
Class
- FullCalendar
- Plugin annotation @ViewsStyle( id = "fullcalendar", title = @Translation("FullCalendar"), help = @Translation("Displays items on a calendar."), theme = "views_view--fullcalendar", display_types = {"normal"} )
Namespace
Drupal\fullcalendar\Plugin\views\styleCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, PluginManagerInterface $fullcalendar_manager, ModuleHandlerInterface $module_handler, $field_manager, DateFormatter $date_formatter, MessengerInterface $messenger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->pluginBag = new FullcalendarPluginCollection($fullcalendar_manager, $this);
$this->moduleHandler = $module_handler;
$this->fieldManager = $field_manager;
$this->dateFormatter = $date_formatter;
$this->messenger = $messenger;
}