public function Feed::init

Overrides Drupal\Core\Entity\EntityNG::init().

Overrides EntityNG::init

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php, line 143
Contains \Drupal\aggregator\Plugin\Core\Entity\Feed.

Class

Feed
Defines the aggregator feed entity class.

Namespace

Drupal\aggregator\Plugin\Core\Entity

Code

public function init() {
  parent::init();

  // We unset all defined properties, so magic getters apply.
  unset($this->fid);
  unset($this->title);
  unset($this->url);
  unset($this->refresh);
  unset($this->checked);
  unset($this->queued);
  unset($this->link);
  unset($this->description);
  unset($this->image);
  unset($this->hash);
  unset($this->etag);
  unset($this->modified);
  unset($this->block);
}