public function Feed::label in Feeds 8.3
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides ContentEntityBase::label
File
- src/
Entity/ Feed.php, line 119
Class
- Feed
- Defines the feed entity class.
Namespace
Drupal\feeds\EntityCode
public function label() {
return $this
->get('title')->value;
}