You are here

public function TestHelperPlugin::testSetOptionDefaults in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::testSetOptionDefaults()

Calls the protected method setOptionDefaults().

See also

\Drupal\views\Plugin\views\PluginBase::setOptionDefaults()

File

core/modules/views/src/Tests/TestHelperPlugin.php, line 26

Class

TestHelperPlugin
Wraps the plugin base class to be able to instantiate it.

Namespace

Drupal\views\Tests

Code

public function testSetOptionDefaults(&$storage, $options, $level = 0) {
  $this
    ->setOptionDefaults($storage, $options, $level);
}