1 views_plugin_display_block.inc | views_plugin_display_block::use_more() |
Does the display have a more link enabled?
Overrides views_plugin_display::use_more
File
- core/
modules/ views/ plugins/ views_plugin_display_block.inc, line 468 - Contains the block display plugin.
Class
- views_plugin_display_block
- The plugin that handles a block.
Code
function use_more() {
$allow = $this->get_option('allow');
if (!$allow['more_link'] || !$this->has_override_options()) {
return parent::use_more();
}
$override_options = $this->get_option('override_options');
return (bool) $override_options['more_link'];
}