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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.