You are here

public function TwitterApiForm::__construct in Heartbeat 8

Constructs a new TwitterApiForm object.

File

modules/statusmessage/src/Form/TwitterApiForm.php, line 31

Class

TwitterApiForm
Class TwitterApiForm.

Namespace

Drupal\statusmessage\Form

Code

public function __construct(ConfigFactory $config_factory) {
  $this->configFactory = $config_factory;
  $this->twitterConfig = $this->configFactory
    ->getEditable('twitter_api.settings');
}