Tour::getTip

public Tour::getTip($id)

Returns tip plugin.

Parameters

string $id: The identifier of the tip.

Return value

\Drupal\tour\TipPluginInterface The tip plugin.

Overrides TourInterface::getTip

File

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

Class

Tour
Defines the configured tour entity.

Namespace

Drupal\tour\Entity

Code

public function getTip($id) {
  return $this->tipsCollection->get($id);
}
doc_Drupal
2016-10-29 09:48:49
Comments
Leave a Comment

Please login to continue.