public function SearchApiViewsFacetsBlockDisplay::render_more_link in Search API 7
Render the 'more' link
Overrides views_plugin_display::render_more_link
1 call to SearchApiViewsFacetsBlockDisplay::render_more_link()
- SearchApiViewsFacetsBlockDisplay::execute in contrib/
search_api_views/ includes/ display_facet_block.inc - The display block handler returns the structure necessary for a block.
File
- contrib/
search_api_views/ includes/ display_facet_block.inc, line 140 - Display plugin for displaying the search facets in a block.
Class
- SearchApiViewsFacetsBlockDisplay
- Plugin class for displaying search facets in a block.
Code
public function render_more_link() {
if ($this
->use_more()) {
$path = $this
->get_option('linked_path');
$theme = views_theme_functions('views_more', $this->view, $this->display);
$path = check_url(url($path, array()));
return array(
'#theme' => $theme,
'#more_url' => $path,
'#link_text' => check_plain($this
->use_more_text()),
);
}
}