You are here

public function ArticleWrapper::getArticle in Facebook Instant Articles 7.2

Gets the wrapped InstantArticle object.

Return value

\Facebook\InstantArticles\Elements\InstantArticle

File

src/ArticleWrapper.php, line 82
Contains \Drupal\fb_instant_articles\ArticleWrapper.

Class

ArticleWrapper
Wraps a FB Instant SDK article object with Drupal Base module configs and hooks for extensibility (without class inheritance, which the FB Instant SDK prevents by design).

Namespace

Drupal\fb_instant_articles

Code

public function getArticle() {
  return $this->instantArticle;
}