Mercurial > hg > cmmr2012-drupal-site
view core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +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; } }