You are here

public function Twitter::getId in Social simple 2.0.x

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

Get the network id.

Return value

string the network id.

Overrides SocialNetworkInterface::getId

File

src/SocialNetwork/Twitter.php, line 27

Class

Twitter
The social network Twitter.

Namespace

Drupal\social_simple\SocialNetwork

Code

public function getId() {
  return 'twitter';
}