public function ViewExecutable::id in Drupal 9
Same name and namespace in other branches
- 8 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\viewsCode
public function id() {
return $this->storage
->id();
}