You are here

public function TestHelperPlugin::testSetOptionDefaults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 31
Contains \Drupal\views\Tests\TestHelperPlugin.

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);
}