public function ViewExecutable::getStyle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/ViewExecutable.php \Drupal\views\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 860
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public function getStyle() {
if (!isset($this->style_plugin)) {
$this
->initStyle();
}
return $this->style_plugin;
}