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