Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
| TipsPluginCollection | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
| get | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\tour\TipsPluginCollection. | |
| */ | |
| namespace Drupal\tour; | |
| use Drupal\Core\Plugin\DefaultLazyPluginCollection; | |
| /** | |
| * A collection of tips. | |
| */ | |
| class TipsPluginCollection extends DefaultLazyPluginCollection { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| protected $pluginKey = 'plugin'; | |
| /** | |
| * {@inheritdoc} | |
| * | |
| * @return \Drupal\tour\TipPluginInterface | |
| */ | |
| public function &get($instance_id) { | |
| return parent::get($instance_id); | |
| } | |
| } |