public function AdminSettingsForm::__construct in Organic groups 8
Constructs an AdminSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Component\Plugin\PluginManagerInterface $delete_orphans_plugin_manager: The manager for OgDeleteOrphans plugins.
Overrides ConfigFormBase::__construct
File
- og_ui/
src/ Form/ AdminSettingsForm.php, line 33
Class
- AdminSettingsForm
- Provides the main administration settings form for Organic groups.
Namespace
Drupal\og_ui\FormCode
public function __construct(ConfigFactoryInterface $config_factory, PluginManagerInterface $delete_orphans_plugin_manager) {
parent::__construct($config_factory);
$this->ogDeleteOrphansPluginManager = $delete_orphans_plugin_manager;
}