public function Item::init

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

Overrides EntityNG::init

File

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

Class

Item
Defines the aggregator item 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->iid);
  unset($this->fid);
  unset($this->title);
  unset($this->author);
  unset($this->description);
  unset($this->guid);
  unset($this->link);
  unset($this->timestamp);
}