You are here

public function PlatformBase::getUrlSuffix in Social Media Links Block and Field 8.2

Return the url suffix of the platform.

Return value

string The url suffix.

Overrides PlatformInterface::getUrlSuffix

2 calls to PlatformBase::getUrlSuffix()
Contact::getUrl in src/Plugin/SocialMediaLinks/Platform/Contact.php
Get the full url for the platform.
PlatformBase::getUrl in src/PlatformBase.php
Get the full url for the platform.

File

src/PlatformBase.php, line 71

Class

PlatformBase
Base class for platform.

Namespace

Drupal\social_media_links

Code

public function getUrlSuffix() {
  return isset($this->pluginDefinition['urlSuffix']) ? $this->pluginDefinition['urlSuffix'] : '';
}