public function TwitterWidget::getName in Twitter Profile Widget 8
Gets the Twitter widget name.
Return value
string Name of the Twitter widget.
Overrides TwitterWidgetInterface::getName
File
- src/
Entity/ TwitterWidget.php, line 74
Class
- TwitterWidget
- Defines the Twitter widget entity.
Namespace
Drupal\twitter_profile_widget\EntityCode
public function getName() {
return $this
->get('name')->value;
}