You are here

public function SocialNetworkInterface::getLinkAttributes in Social simple 8

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

Get common attributes for the share link.

Parameters

string $network_name: The social network name.

Return value

array $attributes an array of link attributes.

7 methods override SocialNetworkInterface::getLinkAttributes()
EntityPrintPdf::getLinkAttributes in src/SocialNetwork/EntityPrintPdf.php
Get common attributes for the share link.
Facebook::getLinkAttributes in src/SocialNetwork/Facebook.php
Get common attributes for the share link.
GooglePlus::getLinkAttributes in src/SocialNetwork/GooglePlus.php
Get common attributes for the share link.
Linkedin::getLinkAttributes in src/SocialNetwork/Linkedin.php
Get common attributes for the share link.
Mail::getLinkAttributes in src/SocialNetwork/Mail.php
Get common attributes for the share link.

... See full list

File

src/SocialNetwork/SocialNetworkInterface.php, line 57

Class

SocialNetworkInterface
Defines the interface for social network.

Namespace

Drupal\social_simple\SocialNetwork

Code

public function getLinkAttributes($network_name);