Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityBase.php

function EntityBase::__sleep

4 calls to EntityBase::__sleep()
ConfigEntityBase::__sleep in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ConfigEntityBase::__sleep in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ContentEntityBase::__sleep in core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::__sleep in core/lib/Drupal/Core/Entity/ContentEntityBase.php
2 methods override EntityBase::__sleep()
ConfigEntityBase::__sleep in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ContentEntityBase::__sleep in core/lib/Drupal/Core/Entity/ContentEntityBase.php

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 640

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function __sleep() : array {
    $this->typedData = NULL;
    return $this->traitSleep();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal