You are here

public function FiveStarWidget::getStyles in Votingapi Widgets 8

Get available styles.

Overrides VotingApiWidgetInterface::getStyles

File

src/Plugin/votingapi_widget/FiveStarWidget.php, line 71

Class

FiveStarWidget
Assigns ownership of a node to a user.

Namespace

Drupal\votingapi_widgets\Plugin\votingapi_widget

Code

public function getStyles() {
  return [
    'default' => $this
      ->t('Default'),
    'bars-horizontal' => $this
      ->t('Bars horizontal'),
    'css-stars' => $this
      ->t('Css stars'),
    'bars-movie' => $this
      ->t('Bars movie'),
    'bars-pill' => $this
      ->t('Bars pill'),
    'bars-square' => $this
      ->t('Bars square'),
    'fontawesome-stars-o' => $this
      ->t('Fontawesome stars-o'),
    'fontawesome-stars' => $this
      ->t('Fontawesome stars'),
    'bootstrap-stars' => $this
      ->t('Bootstrap stars'),
  ];
}