You are here

public function WidgetManager::__construct in Fivestar 8

Constructs a new VoteManager object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/WidgetManager.php, line 25

Class

WidgetManager
Contains methods for managing votes.

Namespace

Drupal\fivestar

Code

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