public function TwitterButtonWidget::getAvailableDisplayStyles in Twitter Embed 8
Get all available display styles.
Return value
array Array of display styles.
Overrides TwitterWidgetInterface::getAvailableDisplayStyles
1 call to TwitterButtonWidget::getAvailableDisplayStyles()
- TwitterButtonWidget::getSettingsForm in src/
TwitterButtonWidget.php - Get the settings form for a widget.
File
- src/
TwitterButtonWidget.php, line 70
Class
- TwitterButtonWidget
- Class TwitterButtonWidget.
Namespace
Drupal\twitter_embedCode
public function getAvailableDisplayStyles() {
return [
'follow-button' => t('Follow Button'),
'mention-button' => t('Mention Button'),
];
}