You are here

public function TestPluginBase::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php \Drupal\Tests\views\Kernel\Plugin\TestPluginBase::__construct()

Constructs a PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php, line 87
Contains \Drupal\views\Tests\Plugin\PluginBaseTest.

Class

TestPluginBase
Helper class for using the PluginBase abstract class.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

public function __construct() {
  parent::__construct([], '', []);
}