You are here

public function ReadingTimeConfigForm::__construct in Node read time 8

Class constructor.

Overrides ConfigFormBase::__construct

File

src/Form/ReadingTimeConfigForm.php, line 26

Class

ReadingTimeConfigForm
Defines a form for enabling reading time field for specific content types.

Namespace

Drupal\node_read_time\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entityTypeManager;
}