class TestConfigurablePlugin in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php \Drupal\Tests\Core\Plugin\Fixtures\TestConfigurablePlugin
- 9 core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php \Drupal\Tests\Core\Plugin\Fixtures\TestConfigurablePlugin
Hierarchy
- class \Drupal\Tests\Core\Plugin\Fixtures\TestConfigurablePlugin extends \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\ConfigurableInterface, \Drupal\Component\Plugin\DependentPluginInterface
Expanded class hierarchy of TestConfigurablePlugin
3 files declare their use of TestConfigurablePlugin
- BlockConfigEntityUnitTest.php in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - ConfigEntityBaseUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityBaseUnitTest.
- DefaultLazyPluginCollectionTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ DefaultLazyPluginCollectionTest.php
File
- core/
tests/ Drupal/ Tests/ Core/ Plugin/ Fixtures/ TestConfigurablePlugin.php, line 9
Namespace
Drupal\Tests\Core\Plugin\FixturesView source
class TestConfigurablePlugin extends PluginBase implements ConfigurableInterface, DependentPluginInterface {
/**
* {@inheritdoc}
*/
public function getConfiguration() {
return $this->configuration;
}
/**
* {@inheritdoc}
*/
public function setConfiguration(array $configuration) {
$this->configuration = $configuration;
}
/**
* {@inheritdoc}
*/
public function defaultConfiguration() {
return [];
}
/**
* {@inheritdoc}
*/
public function calculateDependencies() {
return [];
}
}