public static function ViewExecutableFactory::get

Instantiates a ViewExecutable class.

Parameters

\Drupal\views\ViewStorageInterface $view: A view entity instance.

Return value

\Drupal\views\ViewExecutable A ViewExecutable instance.

File

drupal/core/modules/views/lib/Drupal/views/ViewExecutableFactory.php, line 26
Contains \Drupal\views\ViewExecutableFactory.

Class

ViewExecutableFactory
Defines the cache backend factory.

Namespace

Drupal\views

Code

public static function get(ViewStorageInterface $view) {
  return new ViewExecutable($view);
}