public function DisplayPluginInterface::optionLink in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::optionLink()
- 9 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.
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 = '');