You are here

public function TestHelperPlugin::setDefinedOptions in Drupal 8

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

Allows to set the defined options.

Parameters

array $options:

Return value

$this

File

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

Class

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

Namespace

Drupal\views\Tests

Code

public function setDefinedOptions($options) {
  $this->definedOptions = $options;
  return $this;
}