public function PlatformBase::getName in Social Media Links Block and Field 8.2
Return the name of the platform.
Return value
string The name of the platform.
Overrides PlatformInterface::getName
File
- src/
PlatformBase.php, line 50
Class
- PlatformBase
- Base class for platform.
Namespace
Drupal\social_media_linksCode
public function getName() {
return $this->pluginDefinition['name'];
}