You are here

class Twitter in Social Link Field 8

Provides 'twitter' platform.

Plugin annotation


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

Hierarchy

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

Expanded class hierarchy of Twitter

File

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

Namespace

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

}

Members