You are here

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

Does the display have custom link text?

1 call to DisplayPluginBase::useMoreText()
DisplayPluginBase::renderMoreLink in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Render the 'more' link

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 323
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 useMoreText() {
  if ($this
    ->usesMore()) {
    return $this
      ->getOption('useMoreText');
  }
  return FALSE;
}