You are here

public function DisplayPluginBase::usesFields in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::usesFields()

Determines if the display's style uses fields.

Return value

bool

Overrides DisplayPluginInterface::usesFields

1 call to DisplayPluginBase::usesFields()
DisplayPluginBase::validate in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Validate that the plugin is correct and can be saved.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 790

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function usesFields() {
  return $this
    ->getPlugin('style')
    ->usesFields();
}