function DisplayPluginInterface::optionLink
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
Returns a link to a section of a form.
Because forms may be split up into sections, this provides an easy URL to exactly the right section. Don't override this.
1 method overrides DisplayPluginInterface::optionLink()
- DisplayPluginBase::optionLink in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Returns a link to a section of a form.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginInterface.php, line 319
Class
- DisplayPluginInterface
- Provides an interface for Views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function optionLink($text, $section, $class = '', $title = '');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.