You are here

public function RngContactSettingsForm::__construct in RNG Contact 8

Constructs a RngContactSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

Overrides ConfigFormBase::__construct

File

src/Form/RngContactSettingsForm.php, line 32

Class

RngContactSettingsForm
Configure RNG Contact settings.

Namespace

Drupal\rng_contact\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityFieldManagerInterface $entity_field_manager) {
  parent::__construct($config_factory);
  $this->entityFieldManager = $entity_field_manager;
}