You are here

public function Feed::getImportedTime in Feeds 8.3

Returns the feed imported timestamp.

Return value

int Creation timestamp of the feed.

Overrides FeedInterface::getImportedTime

File

src/Entity/Feed.php, line 161

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function getImportedTime() {
  return (int) $this
    ->get('imported')->value;
}