public function ExternalAdminSettings::__construct in External New Tab 8
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ExternalAdminSettings.php, line 28 - Contains \Drupal\external\Form\ExternalAdminSettings.
Class
Namespace
Drupal\external\FormCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->config = $config_factory
->getEditable('external.settings');
}