public function TwitterWidgetInterface::getWidget in Twitter Embed 8
Returns a Twitter widget depending on the configuration.
Parameters
array $configuration: List of selected configuration.
Return value
array The Twitter widget as a render array.
1 method overrides TwitterWidgetInterface::getWidget()
- TwitterWidget::getWidget in src/
TwitterWidget.php - Returns a Twitter widget depending on the configuration.
File
- src/
TwitterWidgetInterface.php, line 75
Class
- TwitterWidgetInterface
- Interface TwitterWidgetInterface.
Namespace
Drupal\twitter_embedCode
public function getWidget(array $configuration);