You are here

public function ViewExecutable::id in Drupal 8

Same name and namespace in other branches
  1. 9 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 477

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

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