ViewExecutable::getStyle

public ViewExecutable::getStyle()

Gets the current style plugin.

Return value

\Drupal\views\Plugin\views\style\StylePluginBase The current style plugin.

File

core/modules/views/src/ViewExecutable.php, line 850

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function getStyle() {
  if (!isset($this->style_plugin)) {
    $this->initStyle();
  }

  return $this->style_plugin;
}
doc_Drupal
2016-10-29 09:54:22
Comments
Leave a Comment

Please login to continue.