public function ViewExecutable::getStyle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::getStyle()
Gets the current style plugin.
Return value
\Drupal\views\Plugin\views\style\StylePluginBase
File
- core/
modules/ views/ src/ ViewExecutable.php, line 819 - Contains \Drupal\views\ViewExecutable.
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;
}