function TestHelperPlugin::setDefinedOptions
Same name in other branches
- 8.9.x core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::setDefinedOptions()
- 10 core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::setDefinedOptions()
- 11.x core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::setDefinedOptions()
Allows to set the defined options.
Parameters
array $options: The options to set.
Return value
$this
File
-
core/
modules/ views/ src/ Tests/ TestHelperPlugin.php, line 38
Class
- TestHelperPlugin
- Wraps the plugin base class to be able to instantiate it.
Namespace
Drupal\views\TestsCode
public function setDefinedOptions($options) {
$this->definedOptions = $options;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.