You are here

public function SocialSimpleGeneratorInterface::getShareUrl in Social simple 2.0.x

Same name and namespace in other branches
  1. 8 src/SocialSimpleGeneratorInterface.php \Drupal\social_simple\SocialSimpleGeneratorInterface::getShareUrl()

Get the share url.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity if provided.

Return value

string $url The url to share.

1 method overrides SocialSimpleGeneratorInterface::getShareUrl()
SocialSimpleGenerator::getShareUrl in src/SocialSimpleGenerator.php
Get the share url.

File

src/SocialSimpleGeneratorInterface.php, line 88

Class

SocialSimpleGeneratorInterface
Interface SocialSimpleGeneratorInterface.

Namespace

Drupal\social_simple

Code

public function getShareUrl(EntityInterface $entity = NULL);