Returns tip plugin.
Parameters
string $id:
The identifier of the tip.
Return value
\Drupal\tour\TipPluginInterface
The tip plugin.
Overrides TourInterface::getTip
File
- drupal/core/modules/tour/lib/Drupal/tour/Plugin/Core/Entity/Tour.php, line 98
- Contains \Drupal\tour\Plugin\Core\Entity\Tour.
Class
- Tour
- Defines the configured tour entity.
Namespace
Drupal\tour\Plugin\Core\Entity
Code
public function getTip($id) {
return $this->tipsBag
->get($id);
}