You are here

public function ShareMessageInterface::buildTwitterCardTags in Share Message 8

Adds meta tags in order to share images on Twitter.

Parameters

array $context: The context for the token replacements.

Return value

array The twitter tags.

1 method overrides ShareMessageInterface::buildTwitterCardTags()
ShareMessage::buildTwitterCardTags in src/Entity/ShareMessage.php
Adds meta tags in order to share images on Twitter.

File

src/ShareMessageInterface.php, line 137

Class

ShareMessageInterface
Define interface for ShareMessage entity.

Namespace

Drupal\sharemessage

Code

public function buildTwitterCardTags($context);