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