function TestableSqlContentEntityStorage::setTableMapping

Sets the table mapping.

Parameters

\Drupal\Core\Entity\Sql\TableMappingInterface $table_mapping: The dummy table mapping.

Overrides SqlContentEntityStorage::setTableMapping

File

core/tests/Drupal/KernelTests/Core/Entity/Sql/TestableSqlContentEntityStorage.php, line 52

Class

TestableSqlContentEntityStorage
A test subclass of SqlContentEntityStorage.

Namespace

Drupal\KernelTests\Core\Entity\Sql

Code

public function setTableMapping(TableMappingInterface $table_mapping) : void {
    $this->tableMapping = $table_mapping;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.