You are here

public function RecentlyReadTypeForm::__construct in Recently Read 8

Constructs RecentlyReadTypeForm object.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: The entity_type.bundle.info service.

File

src/Form/RecentlyReadTypeForm.php, line 38

Class

RecentlyReadTypeForm
Class RecentlyReadTypeForm.

Namespace

Drupal\recently_read\Form

Code

public function __construct(MessengerInterface $messenger, EntityTypeBundleInfoInterface $bundleInfo) {
  $this->messenger = $messenger;
  $this->bundleInfo = $bundleInfo;
}