Implements Drupal\Core\Entity\EntityInterface::label().
Overrides EntityNG::label
File
- drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Item.php, line 130
- Contains \Drupal\aggregator\Plugin\Core\Entity\Item.
Class
- Item
- Defines the aggregator item entity class.
Namespace
Drupal\aggregator\Plugin\Core\Entity
Code
public function label($langcode = NULL) {
return $this
->get('title')->value;
}