You are here

public function Twitter::getLabel in Social simple 8

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

Get the network name.

Return value

string the network name.

Overrides SocialNetworkInterface::getLabel

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

File

src/SocialNetwork/Twitter.php, line 34

Class

Twitter
The social network Twitter.

Namespace

Drupal\social_simple\SocialNetwork

Code

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