VotingApiWidgetInterface.php in Votingapi Widgets 8
Namespace
Drupal\votingapi_widgets\PluginFile
src/Plugin/VotingApiWidgetInterface.phpView source
<?php
namespace Drupal\votingapi_widgets\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Defines an interface for Voting api widget plugins.
*/
interface VotingApiWidgetInterface extends PluginInspectionInterface {
/**
* Build form.
*/
public function buildForm($entity_type, $entity_bundle, $entity_id, $vote_type, $field_name, $settings);
/**
* Get available styles.
*/
public function getStyles();
}
Interfaces
Name | Description |
---|---|
VotingApiWidgetInterface | Defines an interface for Voting api widget plugins. |