public function PlatformInterface::getIconName in Social Media Links Block and Field 8.2
Return the name of the icon.
In most cases, the icon name is the id of the platform.
Return value
string The name of the icon for the platform.
1 method overrides PlatformInterface::getIconName()
- PlatformBase::getIconName in src/
PlatformBase.php - Return the name of the icon.
File
- src/
PlatformInterface.php, line 38
Class
- PlatformInterface
- Defines an interface for social media links platform plugins.
Namespace
Drupal\social_media_linksCode
public function getIconName();