You are here

class GitHub in Social Link Field 8

Provides 'github' platform.

Plugin annotation


@SocialLinkFieldPlatform(
  id = "github",
  name = @Translation("GitHub"),
  icon = "fa-github",
  iconSquare = "fa-github-square",
  urlPrefix = "https://github.com/",
)

Hierarchy

  • class \Drupal\social_link_field\PlatformBase
    • class \Drupal\social_link_field\Plugin\SocialLinkField\Platform\GitHub

Expanded class hierarchy of GitHub

File

src/Plugin/SocialLinkField/Platform/GitHub.php, line 18

Namespace

Drupal\social_link_field\Plugin\SocialLinkField\Platform
View source
class GitHub extends PlatformBase {

}

Members