You are here

public function InstagramAccount::getCronLimit in Instagram Feeds 8

Gets Cron limit value.

Return value

int How many posts to import during single Cron job.

Overrides InstagramAccountInterface::getCronLimit

File

src/Entity/InstagramAccount.php, line 388

Class

InstagramAccount
Defines the instagram_account entity class.

Namespace

Drupal\instagram_feeds\Entity

Code

public function getCronLimit() : int {
  return (int) $this
    ->getEntityKey('cron_import_limit');
}