You are here

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

Array containing all info for a plugin instance

Parameters

$variables:

Return value

mixed

Overrides VoteUpDownWidgetInterface::alterTemplateVariables

2 calls to VoteUpDownWidgetBase::alterTemplateVariables()
VoteUpDownWidgetBase::build in src/Plugin/VoteUpDownWidgetBase.php
@fixme Do not use camelcase on variables, and fix coding standards.
YesNo::alterTemplateVariables in src/Plugin/VoteUpDownWidget/YesNo.php
Array containing all info for a plugin instance
1 method overrides VoteUpDownWidgetBase::alterTemplateVariables()
YesNo::alterTemplateVariables in src/Plugin/VoteUpDownWidget/YesNo.php
Array containing all info for a plugin instance

File

src/Plugin/VoteUpDownWidgetBase.php, line 35

Class

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

Namespace

Drupal\vud\Plugin

Code

public function alterTemplateVariables(&$variables) {

  // Nothing by default.
}