function Tour::getTip

Same name in other branches
  1. 8.9.x core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getTip()
  2. 10 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getTip()
  3. 11.x core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getTip()

Overrides TourInterface::getTip

1 call to Tour::getTip()
Tour::getTips in core/modules/tour/src/Entity/Tour.php
Returns the tips for this tour.

File

core/modules/tour/src/Entity/Tour.php, line 113

Class

Tour
Defines the configured tour entity.

Namespace

Drupal\tour\Entity

Code

public function getTip($id) {
    return $this->tipsCollection
        ->get($id);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.