You are here

public function DisplayPluginInterface::optionLink in Drupal 8

Same name and namespace 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()

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 = '');