You are here

public function SubscriptionController::__construct in Feeds 8.3

Constructs a SubscriptionController object.

Parameters

\Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $key_value_expire_factory: The key value expirable factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Controller/SubscriptionController.php, line 36

Class

SubscriptionController
Returns responses for PuSH module routes.

Namespace

Drupal\feeds\Controller

Code

public function __construct(KeyValueExpirableFactoryInterface $key_value_expire_factory, EntityTypeManagerInterface $entity_type_manager) {
  $this->keyValueExpireFactory = $key_value_expire_factory;
  $this->entityTypeManager = $entity_type_manager;
}