You are here

public function Feed::isActive in Feeds 8.3

Returns the feed active status.

Inactive feeds do not get imported.

Return value

bool True if the feed is active.

Overrides FeedInterface::isActive

File

src/Entity/Feed.php, line 240

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function isActive() {
  return (bool) $this
    ->get('status')->value;
}