public function Item::id

Implements Drupal\Core\Entity\EntityInterface::id().

Overrides EntityNG::id

File

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

Class

Item
Defines the aggregator item entity class.

Namespace

Drupal\aggregator\Plugin\Core\Entity

Code

public function id() {
  return $this
    ->get('iid')->value;
}