interface VotingApiWidgetInterface in Votingapi Widgets 8
Defines an interface for Voting api widget plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\votingapi_widgets\Plugin\VotingApiWidgetInterface
Expanded class hierarchy of VotingApiWidgetInterface
All classes that implement VotingApiWidgetInterface
File
- src/
Plugin/ VotingApiWidgetInterface.php, line 10
Namespace
Drupal\votingapi_widgets\PluginView source
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();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
VotingApiWidgetInterface:: |
public | function | Build form. | 3 |
VotingApiWidgetInterface:: |
public | function | Get available styles. | 3 |