You are here

public function TweetbuttonSettingsForm::__construct in Tweet Button 8

Constructs a TweetbuttonSettingsForm object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface: The module handler instance to use.

Overrides ConfigFormBase::__construct

File

lib/Drupal/tweetbutton/Form/TweetbuttonSettingsForm.php, line 32
Contains \Drupal\tweetbutton\Form\TweetbuttonSettingsForm.

Class

TweetbuttonSettingsForm
Provides a configuration form for tweetbutton.

Namespace

Drupal\tweetbutton\Form

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}