public function SocialMediaAdminForm::__construct in Social media share 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/ SocialMediaAdminForm.php, line 27
Class
- SocialMediaAdminForm
- Class SocialMediaAdminForm.
Namespace
Drupal\social_media\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EventDispatcherInterface $event_dispatcher) {
parent::__construct($config_factory);
$this->eventDispatcher = $event_dispatcher;
}