function views_plugin_display::use_more

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_display.inc \views_plugin_display::use_more()

Does the display have a more link enabled?

2 calls to views_plugin_display::use_more()
views_plugin_display::pre_execute in plugins/views_plugin_display.inc
Set up any variables on the view prior to execution. These are separated from execute because they are extremely common and unlikely to be overridden on an individual display.
views_plugin_display::render_more_link in plugins/views_plugin_display.inc
Render the 'more' link

File

plugins/views_plugin_display.inc, line 288

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function use_more() {
    if (!empty($this->definition['use more'])) {
        return $this->get_option('use_more');
    }
    return FALSE;
}