You are here

public function SettingsForm::__construct in Field Encryption 3.0.x

Constructs a new FieldEncryptSettingsForm.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_plugin_manager: The field type plugin manager.

\Drupal\encrypt\EncryptionProfileManagerInterface $encryption_profile_manager: The encryption profile manager.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 43

Class

SettingsForm
Form builder for the field_encrypt settings admin page.

Namespace

Drupal\field_encrypt\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, FieldTypePluginManagerInterface $field_type_plugin_manager, EncryptionProfileManagerInterface $encryption_profile_manager) {
  parent::__construct($config_factory);
  $this->fieldTypePluginManager = $field_type_plugin_manager;
  $this->encryptionProfileManager = $encryption_profile_manager;
}