You are here

public function FeedbackMessageForm::__construct in Feedback 3.x

Constructs a ContentEntityForm object.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entityRepository: The entity manager.

\Drupal\Core\Config\Entity\ConfigEntityStorage $feedback_message_type_storage: The feedback message type storage.

Overrides ContentEntityForm::__construct

File

src/Form/FeedbackMessageForm.php, line 33

Class

FeedbackMessageForm
Form controller for Feedback message edit forms.

Namespace

Drupal\feedback\Form

Code

public function __construct(EntityRepositoryInterface $entityRepository, ConfigEntityStorage $feedback_message_type_storage) {
  parent::__construct($entityRepository);
  $this->feedbackMessageTypeStorage = $feedback_message_type_storage;
}