function ViewsUiThemeHooks::viewPreviewSectionRowsLinks
Returns all contextual links for the main content part of the view.
1 call to ViewsUiThemeHooks::viewPreviewSectionRowsLinks()
- ViewsUiThemeHooks::preprocessViewPreviewSection in core/
modules/ views_ui/ src/ Hook/ ViewsUiThemeHooks.php - Prepares variables for views UI view preview section templates.
File
-
core/
modules/ views_ui/ src/ Hook/ ViewsUiThemeHooks.php, line 777
Class
- ViewsUiThemeHooks
- Hook implementations for views_ui.
Namespace
Drupal\views_ui\HookCode
protected function viewPreviewSectionRowsLinks(ViewExecutable $view) : array {
$links = [];
$links = array_merge($links, $this->viewPreviewSectionHandlerLinks($view, 'filter', TRUE));
$links = array_merge($links, $this->viewPreviewSectionHandlerLinks($view, 'field', TRUE));
$links = array_merge($links, $this->viewPreviewSectionHandlerLinks($view, 'sort', TRUE));
$links = array_merge($links, $this->viewPreviewSectionHandlerLinks($view, 'argument', TRUE));
$links = array_merge($links, $this->viewPreviewSectionHandlerLinks($view, 'relationship', TRUE));
return $links;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.