You are here

public function DisplayPluginBase::usesFields in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 788
Contains \Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

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