You are here

public function TwitterTimelineWidget::getAvailableTypes in Twitter Embed 8

Get all available types.

Return value

array Array of types.

Overrides TwitterWidgetInterface::getAvailableTypes

1 call to TwitterTimelineWidget::getAvailableTypes()
TwitterTimelineWidget::getSettingsForm in src/TwitterTimelineWidget.php
Get the settings form for a widget.

File

src/TwitterTimelineWidget.php, line 66

Class

TwitterTimelineWidget
Class TwitterTimelineWidget.

Namespace

Drupal\twitter_embed

Code

public function getAvailableTypes() {
  return [
    'profile' => t('Profile'),
    'list' => t('List'),
    'collection' => t('Collection'),
    'likes' => t('Likes'),
  ];
}