Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +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; } }