OutlookCalendarSaveAjaxController
extends ControllerBase
in package
Returns responses for Office 365 - Outlook Calendar routes.
Table of Contents
- $eventService : OutlookCalendarSaveEventService
- The event service.
- $messenger : MessengerInterface
- The drupal messenger.
- __construct() : mixed
- The controller constructor.
- ajaxLinkCallback() : AjaxResponse
- The ajax callback function.
- create() : mixed
- {@inheritdoc}
Properties
$eventService
The event service.
protected
OutlookCalendarSaveEventService
$eventService
$messenger
The drupal messenger.
protected
MessengerInterface
$messenger
Methods
__construct()
The controller constructor.
public
__construct(OutlookCalendarSaveEventService $eventService, MessengerInterface $messenger) : mixed
Parameters
- $eventService : OutlookCalendarSaveEventService
-
The event service.
- $messenger : MessengerInterface
-
The Drupal messenger.
Return values
mixed —ajaxLinkCallback()
The ajax callback function.
public
ajaxLinkCallback([mixed $nid = FALSE ]) : AjaxResponse
Parameters
- $nid : mixed = FALSE
-
The node ID of the node to use.
Tags
Return values
AjaxResponse —The response.
create()
{@inheritdoc}
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface