public function WishlistItem::label in Commerce Wishlist 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/ WishlistItem.php, line 112
Class
- WishlistItem
- Defines the wishlist item entity class.
Namespace
Drupal\commerce_wishlist\EntityCode
public function label() {
return $this
->getTitle();
}