You are here

public function RecentlyReadConfigForm::__construct in Recently Read 8

Constructs RecentlyReadTypeList object.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Service entity_type.manager.

\Drupal\Core\Cache\CacheBackendInterface $cacheBackendInterface: Service cache.default.

Overrides ConfigFormBase::__construct

File

src/Form/RecentlyReadConfigForm.php, line 51

Class

RecentlyReadConfigForm
Class RecentlyReadConfig.

Namespace

Drupal\recently_read\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, EntityTypeManagerInterface $entityTypeManager, CacheBackendInterface $cacheBackendInterface) {
  parent::__construct($configFactory);
  $this->entityTypeManager = $entityTypeManager;
  $this->cache = $cacheBackendInterface;
}