You are here

public function VoteUpDownWidgetBase::getWidgetTemplate in Vote Up/Down 8

Returns the widget template for a specific plugin instance

Return value

mixed

Overrides VoteUpDownWidgetInterface::getWidgetTemplate

File

src/Plugin/VoteUpDownWidgetBase.php, line 28

Class

VoteUpDownWidgetBase
Defines a plugin base implementation that corresponding plugins will extend.

Namespace

Drupal\vud\Plugin

Code

public function getWidgetTemplate() {
  return $this
    ->getPluginDefinition()['widget_template'];
}