ViewExecutable::serialize

public ViewExecutable::serialize()

File

core/modules/views/src/ViewExecutable.php, line 2472

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function serialize() {
  return serialize([
    // Only serialize the storage entity ID.
    $this->storage->id(),
    $this->current_display,
    $this->args,
    $this->current_page,
    $this->exposed_input,
    $this->exposed_raw_input,
    $this->exposed_data,
    $this->dom_id,
    $this->executed,
  ]);
}
doc_Drupal
2016-10-29 09:54:26
Comments
Leave a Comment

Please login to continue.