You are here

KeyValueContentEntityStorage.php in Zircon Profile 8

File

core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage.
 */
namespace Drupal\Core\Entity\KeyValueStore;

use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\ContentEntityStorageInterface;

/**
 * Provides a key value backend for content entities.
 */
class KeyValueContentEntityStorage extends KeyValueEntityStorage implements ContentEntityStorageInterface {

  /**
   * {@inheritdoc}
   */
  public function createTranslation(ContentEntityInterface $entity, $langcode, array $values = []) {

    // @todo
  }

}

Classes

Namesort descending Description
KeyValueContentEntityStorage Provides a key value backend for content entities.