You are here

public function BlogapiCommunicator::__construct in Blog API 8

BlogapiCommunicator constructor.

File

src/BlogapiCommunicator.php, line 41

Class

BlogapiCommunicator
Class BlogapiCommunicator.

Namespace

Drupal\blogapi

Code

public function __construct(EntityTypeManager $entityTypeManager, EntityFieldManager $entityFieldManager, BlogapiProviderManager $blogapiProviderManager, ModuleHandler $moduleHandler, ConfigFactory $configFactory) {
  $this->entityTypeManager = $entityTypeManager;
  $this->entityFieldManager = $entityFieldManager;
  $this->pluginManager = $blogapiProviderManager;
  $this->moduleManager = $moduleHandler;
  $this->blogapiConfig = $configFactory
    ->get('blogapi.settings');
}