You are here

public function TestHelperPlugin::setDefinedOptions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Tests/TestHelperPlugin.php \Drupal\views\Tests\TestHelperPlugin::setDefinedOptions()
  2. 9 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\Tests

Code

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