You are here

public static function ViewUI::load in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::load()

Loads an entity.

Parameters

mixed $id: The id of the entity to load.

Return value

static The entity object or NULL if there is no entity with the given ID.

Overrides EntityInterface::load

File

core/modules/views_ui/src/ViewUI.php, line 995
Contains \Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public static function load($id) {
  return View::load($id);
}