SynonymProviderPluginCollection.php 441 B

123456789101112131415161718192021
  1. <?php
  2. namespace Drupal\synonyms;
  3. use Drupal\Core\Plugin\DefaultSingleLazyPluginCollection;
  4. /**
  5. * Provides a collection of synonym provider plugins.
  6. */
  7. class SynonymProviderPluginCollection extends DefaultSingleLazyPluginCollection {
  8. /**
  9. * {@inheritdoc}
  10. *
  11. * @return \Drupal\synonyms\SynonymsProviderInterface\SynonymsProviderInterface
  12. */
  13. public function &get($instance_id) {
  14. return parent::get($instance_id);
  15. }
  16. }