You are here

public function SocialAddToCalendarInterface::generateUrl in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarInterface.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarInterface::generateUrl()
  2. 10.0.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarInterface.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarInterface::generateUrl()
  3. 10.1.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarInterface.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarInterface::generateUrl()
  4. 10.2.x modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarInterface.php \Drupal\social_event_addtocal\Plugin\SocialAddToCalendarInterface::generateUrl()

Returns the 'Add to calendar' link.

Parameters

\Drupal\node\NodeInterface $node: The node entity.

Return value

\Drupal\Core\Url Url object.

1 method overrides SocialAddToCalendarInterface::generateUrl()
SocialAddToCalendarBase::generateUrl in modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarBase.php
Returns the 'Add to calendar' link.

File

modules/social_features/social_event/modules/social_event_addtocal/src/Plugin/SocialAddToCalendarInterface.php, line 30

Class

SocialAddToCalendarInterface
Defines an interface for Social add to calendar plugins.

Namespace

Drupal\social_event_addtocal\Plugin

Code

public function generateUrl(NodeInterface $node);