Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Mapper\MapperInterface; use Drupal\Component\Plugin\PluginManagerBase; /** * Stubs \Drupal\Component\Plugin\PluginManagerBase to take a MapperInterface. */ final class StubPluginManagerBaseWithMapper extends PluginManagerBase { /** * Constructs a new instance. * * @param \Drupal\Component\Plugin\Mapper\MapperInterface $mapper */ public function __construct(MapperInterface $mapper) { $this->mapper = $mapper; } }