public function InstagramPostsObtainedEvent::__construct in Instagram Feeds 8
Constructs the object.
Parameters
\Drupal\Core\Config\ImmutableConfig $configuration: The Instagram feeds module settings.
\Drupal\instagram_feeds\Entity\InstagramAccountInterface $account: The Instagram account.
array $posts: The list of Instagram posts to modify.
Overrides InstagramFeedsEventBase::__construct
File
- src/
Event/ InstagramPostsObtainedEvent.php, line 30
Class
- InstagramPostsObtainedEvent
- En event occurs when instagram_feeds obtained posts from Instagram API.
Namespace
Drupal\instagram_feeds\EventCode
public function __construct(ImmutableConfig $configuration, InstagramAccountInterface $account, array $posts) {
parent::__construct($configuration, $account);
$this->posts = $posts;
}