function TestHelperPlugin::testSetOptionDefaults

Same name in other branches
  1. 9 core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::testSetOptionDefaults()
  2. 10 core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::testSetOptionDefaults()
  3. 11.x 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);
}

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