You are here

public function RateSettingsForm::__construct in Rate 8

Same name and namespace in other branches
  1. 8.2 src/Form/RateSettingsForm.php \Drupal\rate\Form\RateSettingsForm::__construct()

RateSettingsForm constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\GuzzleHttp\Client $http_client: Http client object.

Overrides ConfigFormBase::__construct

File

src/Form/RateSettingsForm.php, line 55

Class

RateSettingsForm
Configure rate settings for the site.

Namespace

Drupal\rate\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, Client $http_client) {
  $this->entityTypeManager = $entity_type_manager;
  $this->httpClient = $http_client;
}