You are here

public function TwitterWidget::getCreatedTime in Twitter Profile Widget 8

Gets the Twitter widget creation timestamp.

Return value

int Creation timestamp of the Twitter widget.

Overrides TwitterWidgetInterface::getCreatedTime

File

src/Entity/TwitterWidget.php, line 89

Class

TwitterWidget
Defines the Twitter widget entity.

Namespace

Drupal\twitter_profile_widget\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}