interface InstagramEmbedFetcherInterface in Media entity Instagram 8
Same name and namespace in other branches
- 8.2 src/InstagramEmbedFetcherInterface.php \Drupal\media_entity_instagram\InstagramEmbedFetcherInterface
Defines a wrapper around the Instagram oEmbed call.
Hierarchy
- interface \Drupal\media_entity_instagram\InstagramEmbedFetcherInterface
Expanded class hierarchy of InstagramEmbedFetcherInterface
All classes that implement InstagramEmbedFetcherInterface
File
- src/
InstagramEmbedFetcherInterface.php, line 8
Namespace
Drupal\media_entity_instagramView source
interface InstagramEmbedFetcherInterface {
/**
* Retrieves a instagram post by its shortcode.
*
* @param int $shortcode
* The instagram post shortcode.
* @param bool $hidecaption
* Indicates if the caption should be hidden in the html.
* @param bool $maxWidth
* Max width of the instagram widget.
*
* @return array
* The instagram oEmbed information.
*/
public function fetchInstagramEmbed($shortcode, $hidecaption = FALSE, $maxWidth = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InstagramEmbedFetcherInterface:: |
public | function | Retrieves a instagram post by its shortcode. | 1 |