Search for setOption

  1. Search 7.x for setOption
  2. Search 9.5.x for setOption
  3. Search 10.3.x for setOption
  4. Search 11.x for setOption
  5. Other projects
Title Object type File name Summary
DisplayPluginBase::setOption function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Sets an option, on this display or the default display.
DisplayPluginInterface::setOption function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Sets an option, on this display or the default display.
PluginBase::setOptionDefaults function core/modules/views/src/Plugin/views/PluginBase.php Fills up the options of the plugin with defaults.
PluginBaseTest::providerTestSetOptionDefault function core/modules/views/tests/src/Unit/PluginBaseTest.php Data provider for testSetOptionDefault().
PluginBaseTest::testSetOptionDefault function core/modules/views/tests/src/Unit/PluginBaseTest.php Tests the setOptionDefault method.
PoDatabaseReader::setOptions function core/modules/locale/src/PoDatabaseReader.php Set the options for the current reader.
PoDatabaseWriter::setOptions function core/modules/locale/src/PoDatabaseWriter.php Set the options for the current writer.
TestHelperPlugin::testSetOptionDefaults function core/modules/views/src/Tests/TestHelperPlugin.php Calls the protected method setOptionDefaults().
Url::setOption function core/lib/Drupal/Core/Url.php Sets a specific option.
Url::setOptions function core/lib/Drupal/Core/Url.php Sets the URL options.
UrlTest::testSetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the setOptions() method.

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