You are here

public function VoteUpDownWidgetInterface::build in Vote Up/Down 8

Returns renderable array for the plugin

Parameters

$entity EntityInterface:

Return value

array

1 method overrides VoteUpDownWidgetInterface::build()
VoteUpDownWidgetBase::build in src/Plugin/VoteUpDownWidgetBase.php
@fixme Do not use camelcase on variables, and fix coding standards.

File

src/Plugin/VoteUpDownWidgetInterface.php, line 55

Class

VoteUpDownWidgetInterface
Defines an interface for Vote Up/Down Widget plugins.

Namespace

Drupal\vud\Plugin

Code

public function build($entity);