You are here

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

Get the value for the platform.

Return value

string The value.

Overrides PlatformInterface::getValue

3 calls to PlatformBase::getValue()
Contact::getUrl in src/Plugin/SocialMediaLinks/Platform/Contact.php
Get the full url for the platform.
Email::getUrl in src/Plugin/SocialMediaLinks/Platform/Email.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 29

Class

PlatformBase
Base class for platform.

Namespace

Drupal\social_media_links

Code

public function getValue() {
  return Html::escape($this->value);
}