You are here

public function WorkspaceForm::__construct in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/Form/WorkspaceForm.php \Drupal\opigno_moxtra\Form\WorkspaceForm::__construct()

Creates a WorkspaceForm object.

Overrides ContentEntityForm::__construct

File

src/Form/WorkspaceForm.php, line 30

Class

WorkspaceForm
Provides a form for creating/editing a opigno_moxtra_workspace entity.

Namespace

Drupal\opigno_moxtra\Form

Code

public function __construct(EntityRepositoryInterface $entity_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, MoxtraServiceInterface $moxtra_service) {
  parent::__construct($entity_manager, $entity_type_bundle_info, $time);
  $this->moxtraService = $moxtra_service;
}