function 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.