function TestHelperPlugin::setDefinedOptions

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

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

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