class DummyPluginManager in Features 8.4
Same name and namespace in other branches
- 8.3 tests/src/Unit/FeaturesBundleTest.php \Drupal\Tests\features\Unit\DummyPluginManager
A dummy plugin manager, to help testing.
Hierarchy
- class \Drupal\Tests\features\Unit\DummyPluginManager
Expanded class hierarchy of DummyPluginManager
File
- tests/
src/ Unit/ FeaturesBundleTest.php, line 195
Namespace
Drupal\Tests\features\UnitView source
class DummyPluginManager {
/**
* {@inheritDoc}
*/
public function getDefinition($method_id) {
$definition = [
'enabled' => TRUE,
'weight' => 0,
'default_settings' => [
'my_setting' => 42,
],
];
return $definition;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DummyPluginManager:: |
public | function |