You are here

abstract protected function IntColumnHandler::createBody in Dynamic Entity Reference 8.2

Creates the body of the trigger.

Creates a part of the statement to set the value of the integer column to the integer value of the string column.

Parameters

string $column_int: The name of the target_id_int column.

string $column: The name of the target_id column.

1 call to IntColumnHandler::createBody()
IntColumnHandler::create in src/Storage/IntColumnHandler.php
Creates the _int columns and the triggers for them.
2 methods override IntColumnHandler::createBody()
IntColumnHandlerMySQL::createBody in src/Storage/IntColumnHandlerMySQL.php
Creates the body of the trigger.
IntColumnHandlerSQLite::createBody in src/Storage/IntColumnHandlerSQLite.php
Creates the body of the trigger.

File

src/Storage/IntColumnHandler.php, line 129

Class

IntColumnHandler
Per database implementation of denormalizing into integer columns.

Namespace

Drupal\dynamic_entity_reference\Storage

Code

protected abstract function createBody($column_int, $column);