You are here

public function EntityPrintPdf::__construct in Social simple 8

Same name and namespace in other branches
  1. 2.0.x src/SocialNetwork/EntityPrintPdf.php \Drupal\social_simple\SocialNetwork\EntityPrintPdf::__construct()

Constructs a new Entity Print Pdf object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

File

src/SocialNetwork/EntityPrintPdf.php, line 51

Class

EntityPrintPdf
The social network Twitter.

Namespace

Drupal\social_simple\SocialNetwork

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
}