You are here

public function Facebook::getLabel in Social simple 8

Same name and namespace in other branches
  1. 2.0.x src/SocialNetwork/Facebook.php \Drupal\social_simple\SocialNetwork\Facebook::getLabel()

Get the network name.

Return value

string the network name.

Overrides SocialNetworkInterface::getLabel

1 call to Facebook::getLabel()
Facebook::getShareLink in src/SocialNetwork/Facebook.php
Checks whether the given transition is allowed.

File

src/SocialNetwork/Facebook.php, line 31

Class

Facebook
The social network Facebook.

Namespace

Drupal\social_simple\SocialNetwork

Code

public function getLabel() {
  return $this
    ->t('Facebook');
}