You are here

public function InstagramFeedsEventBase::getAccount in Instagram Feeds 8

Gets related Instagram Account.

Return value

\Drupal\instagram_feeds\Entity\InstagramAccountInterface Currently processed Instagram account.

File

src/Event/InstagramFeedsEventBase.php, line 70

Class

InstagramFeedsEventBase
En event occurs when instagram_feeds creates a new media entity.

Namespace

Drupal\instagram_feeds\Event

Code

public function getAccount() : InstagramAccountInterface {
  return $this->account;
}