You are here

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

Determine if the display's style uses fields.

Return value

bool

1 call to DisplayPluginBase::usesFields()
DisplayPluginBase::validate in lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
Make sure the display and all associated handlers are valid.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 738
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 usesFields() {
  return $this
    ->getPlugin('style')
    ->usesFields();
}