TipsPluginCollection.php

Same filename in other branches
  1. 9 core/modules/tour/src/TipsPluginCollection.php
  2. 8.9.x core/modules/tour/src/TipsPluginCollection.php
  3. 11.x core/modules/tour/src/TipsPluginCollection.php

Namespace

Drupal\tour

File

core/modules/tour/src/TipsPluginCollection.php

View source
<?php

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);
    }

}

Classes

Title Deprecated Summary
TipsPluginCollection A collection of tips.

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