public function TwitterTimelineWidget::getAvailableDisplayStyles in Twitter Embed 8
Get all available display styles.
Return value
array Array of display styles.
Overrides TwitterWidgetInterface::getAvailableDisplayStyles
1 call to TwitterTimelineWidget::getAvailableDisplayStyles()
- TwitterTimelineWidget::getSettingsForm in src/
TwitterTimelineWidget.php - Get the settings form for a widget.
File
- src/
TwitterTimelineWidget.php, line 78
Class
- TwitterTimelineWidget
- Class TwitterTimelineWidget.
Namespace
Drupal\twitter_embedCode
public function getAvailableDisplayStyles() {
return [
'timeline' => t('Timeline (list)'),
'grid' => t('Grid'),
];
}