function TipsPluginCollection::get

Gets a plugin instance, initializing it if necessary.

Parameters

string $instance_id: The ID of the plugin instance being retrieved.

Return value

\Drupal\tour\TipPluginInterface

Overrides LazyPluginCollection::get

File

core/modules/tour/src/TipsPluginCollection.php, line 22

Class

TipsPluginCollection
A collection of tips.

Namespace

Drupal\tour

Code

public function &get($instance_id) {
  return parent::get($instance_id);
}

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