public function TwitterWidgetInterface::setName in Twitter Profile Widget 8
Sets the Twitter widget name.
Parameters
string $name: The Twitter widget name.
Return value
\Drupal\twitter_profile_widget\TwitterWidgetInterface The called Twitter widget entity.
1 method overrides TwitterWidgetInterface::setName()
- TwitterWidget::setName in src/
Entity/ TwitterWidget.php - Sets the Twitter widget name.
File
- src/
TwitterWidgetInterface.php, line 33
Class
- TwitterWidgetInterface
- Provides an interface for defining Twitter widget entities.
Namespace
Drupal\twitter_profile_widgetCode
public function setName($name);