public function PubSubHubbub::__construct in Feeds 8.3
Constructs a PubSubHubbub object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
EventSubscriber/ PubSubHubbub.php, line 40
Class
- PubSubHubbub
- Event listener for PubSubHubbub subscriptions.
Namespace
Drupal\feeds\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->storage = $entity_type_manager
->getStorage('feeds_subscription');
}