You are here

public function RevisionOverviewForm::__construct in Support Ticketing System 8

Constructs a RevisionOverviewForm object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entityManager: The entity manager.

\Drupal\Core\Session\AccountInterface $currentUser: The current user.

\Drupal\Core\Datetime\DateFormatter $date: The date service.

\Drupal\Core\Render\RendererInterface: The renderer service.

File

modules/support_ticket/src/Form/RevisionOverviewForm.php, line 76
Contains \Drupal\support_ticket\Form\RevisionOverviewForm

Class

RevisionOverviewForm
Provides a form for revision overview page.

Namespace

Drupal\support_ticket\Form

Code

public function __construct(EntityManagerInterface $entityManager, AccountInterface $currentUser, DateFormatter $date, RendererInterface $renderer) {
  $this->entityManager = $entityManager;
  $this->currentUser = $currentUser;
  $this->date = $date;
  $this->renderer = $renderer;
  $this->config = $this
    ->config('support_ticket.settings');
}