Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
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; } }