public function SimpleFacebookPixelSettingsForm::__construct in Simple Facebook Pixel 8
SimpleFacebookPixelSettingsForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SimpleFacebookPixelSettingsForm.php, line 43
Class
- SimpleFacebookPixelSettingsForm
- Class SimpleFacebookPixelSettingsForm.
Namespace
Drupal\simple_facebook_pixel\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->moduleHandler = $module_handler;
}