You are here

public function SocialLinkFieldPlatformManager::getPlatforms in Social Link Field 8

Get all platform plugins.

Return value

array The platform plugins.

File

src/SocialLinkFieldPlatformManager.php, line 35

Class

SocialLinkFieldPlatformManager
Manager class for the platform plugins.

Namespace

Drupal\social_link_field

Code

public function getPlatforms() {
  $plugins = $this
    ->getDefinitions();
  return $plugins;
}