You are here

public function PathFileEntitySettingsForm::__construct in Path File 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entityDefinitionUpdateManager: Entity definition update manager.

Overrides ConfigFormBase::__construct

File

src/Form/PathFileEntitySettingsForm.php, line 35

Class

PathFileEntitySettingsForm
Class PathFileEntitySettingsForm.

Namespace

Drupal\path_file\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityDefinitionUpdateManagerInterface $entityDefinitionUpdateManager) {
  $this
    ->setConfigFactory($config_factory);
  $this->entityDefinitionUpdateManager = $entityDefinitionUpdateManager;
}