You are here

public function PlatformInterface::getUrl in Social Media Links Block and Field 8.2

Get the full url for the platform.

Return the full url, including urlPrefix, user value and urlSuffix This method is useful to change the url to match platform specific requirements. E.g.: "mailto:VALUE" for email platform or "user-path:/" for internal urls.

Return value

\Drupal\Core\Url Returns the full Url object for the platform.

1 method overrides PlatformInterface::getUrl()
PlatformBase::getUrl in src/PlatformBase.php
Get the full url for the platform.

File

src/PlatformInterface.php, line 83

Class

PlatformInterface
Defines an interface for social media links platform plugins.

Namespace

Drupal\social_media_links

Code

public function getUrl();