function DisplayPluginInterface::optionLink

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
  3. 11.x 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\display

Code

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.