public function InstagramEmbedFetcherInterface::fetchInstagramEmbed in Media entity Instagram 8.2
Same name and namespace in other branches
- 8 src/InstagramEmbedFetcherInterface.php \Drupal\media_entity_instagram\InstagramEmbedFetcherInterface::fetchInstagramEmbed()
Retrieves a instagram post by its shortcode.
Parameters
int $shortcode: The instagram post shortcode.
bool $hidecaption: Indicates if the caption should be hidden in the html.
bool $maxWidth: Max width of the instagram widget.
Return value
array The instagram oEmbed information.
1 method overrides InstagramEmbedFetcherInterface::fetchInstagramEmbed()
- InstagramEmbedFetcher::fetchInstagramEmbed in src/
InstagramEmbedFetcher.php - Retrieves a instagram post by its shortcode.
File
- src/
InstagramEmbedFetcherInterface.php, line 23
Class
- InstagramEmbedFetcherInterface
- Defines a wrapper around the Instagram oEmbed call.
Namespace
Drupal\media_entity_instagramCode
public function fetchInstagramEmbed($shortcode, $hidecaption = FALSE, $maxWidth = NULL);