traitSleep example



    // Fall back to the generic entity definition.     return $typed_data_manager->getDefinition('entity')['class'];
  }

  /** * {@inheritdoc} */
  public function __sleep() {
    $this->typedData = NULL;
    return $this->traitSleep();
  }

  /** * {@inheritdoc} */
  public function getConfigDependencyKey() {
    return $this->getEntityType()->getConfigDependencyKey();
  }

  /** * {@inheritdoc} */
Home | Imprint | This part of the site doesn't use cookies.