You are here

public function ViewsBuilderPluginInterface::createView in Views Templates 8

Create a View. Don't save it.

Parameters

mixed $options: Options to create a view.

Return value

\Drupal\views\ViewEntityInterface Returns a view.

1 method overrides ViewsBuilderPluginInterface::createView()
ViewsBuilderBase::createView in src/Plugin/ViewsBuilderBase.php
Create a View. Don't save it.

File

src/Plugin/ViewsBuilderPluginInterface.php, line 57

Class

ViewsBuilderPluginInterface
Creates a common interface for Views Builder classes.

Namespace

Drupal\views_templates\Plugin

Code

public function createView($options = NULL);