You are here

public function DisplayPluginBase::isMoreEnabled in Views (for Drupal 7) 8.3

Whether the display is using the 'more' link or not.

Return value

bool

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 296
Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

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

Namespace

Drupal\views\Plugin\views\display

Code

public function isMoreEnabled() {
  if ($this
    ->usesMore()) {
    return $this
      ->getOption('use_more');
  }
  return FALSE;
}