public function SocialNetworkInterface::getLinkAttributes in Social simple 2.0.x
Same name and namespace in other branches
- 8 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.
File
- src/
SocialNetwork/ SocialNetworkInterface.php, line 57
Class
- SocialNetworkInterface
- Defines the interface for social network.
Namespace
Drupal\social_simple\SocialNetworkCode
public function getLinkAttributes($network_name);