protected function QuotaTest::createPlugin in Message 8
Set the plugin with the given configuration.
Parameters
array $configuration: The plugin configuration.
1 call to QuotaTest::createPlugin()
- QuotaTest::testFetch in tests/
src/ Kernel/ Plugin/ MessagePurge/ QuotaTest.php - Tests the fetch method.
File
- tests/
src/ Kernel/ Plugin/ MessagePurge/ QuotaTest.php, line 90
Class
- QuotaTest
- Integration tests for the 'quota' purge plugin.
Namespace
Drupal\Tests\message\Kernel\Plugin\MessagePurgeCode
protected function createPlugin(array $configuration) {
$this->plugin = $this->container
->get('plugin.manager.message.purge')
->createInstance('quota', $configuration);
}