You are here

public function ViewExecutable::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::id()

Returns the identifier.

Return value

string|null The entity identifier, or NULL if the object does not yet have an identifier.

File

core/modules/views/src/ViewExecutable.php, line 464
Contains \Drupal\views\ViewExecutable.

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function id() {
  return $this->storage
    ->id();
}