You are here

public function Mail::getLabel in Social simple 2.0.x

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

Get the network name.

Return value

string the network name.

Overrides SocialNetworkInterface::getLabel

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

File

src/SocialNetwork/Mail.php, line 44

Class

Mail
The Mail button.

Namespace

Drupal\social_simple\SocialNetwork

Code

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