You are here

interface VotingApiWidgetInterface in Votingapi Widgets 8

Defines an interface for Voting api widget plugins.

Hierarchy

Expanded class hierarchy of VotingApiWidgetInterface

All classes that implement VotingApiWidgetInterface

File

src/Plugin/VotingApiWidgetInterface.php, line 10

Namespace

Drupal\votingapi_widgets\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
VotingApiWidgetInterface::buildForm public function Build form. 3
VotingApiWidgetInterface::getStyles public function Get available styles. 3