Mercurial > hg > cmmr2012-drupal-site
view core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
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; } }