You are here

public function FeedType::setImportPeriod in Feeds 8.3

Sets the import period.

Parameters

int $import_period: The import period in seconds.

Overrides FeedTypeInterface::setImportPeriod

File

src/Entity/FeedType.php, line 272

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function setImportPeriod($import_period) {
  $this->import_period = (int) $import_period;
}