final class OutlookCalendarSaveAjaxController extends ControllerBase

Returns responses for Microsoft 365 - Outlook Calendar routes.

Properties

protected EntityTypeManagerInterface $entityTypeManager

The entity type manager.

protected OutlookCalendarSaveEventService $eventService

The event service.

protected MessengerInterface $messenger

The drupal messenger.

Methods

__construct(OutlookCalendarSaveEventService $eventService, MessengerInterface $messenger, EntityTypeManagerInterface $entityTypeManager)

The controller constructor.

AjaxResponse
ajaxLinkCallback(mixed $nid = FALSE)

The ajax callback function.

static 
create(ContainerInterface $container)

{@inheritdoc}

Details

at line 51
__construct(OutlookCalendarSaveEventService $eventService, MessengerInterface $messenger, EntityTypeManagerInterface $entityTypeManager)

The controller constructor.

Parameters

OutlookCalendarSaveEventService $eventService

The event service.

MessengerInterface $messenger

The Drupal messenger.

EntityTypeManagerInterface $entityTypeManager

The entity type manager.

at line 81
AjaxResponse ajaxLinkCallback(mixed $nid = FALSE)

The ajax callback function.

Parameters

mixed $nid

The node ID of the node to use.

Return Value

AjaxResponse

The response.

Exceptions

TempStoreException
GuzzleException
IdentityProviderException

at line 60
static create(ContainerInterface $container)

{@inheritdoc}

Parameters

ContainerInterface $container