You are here

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

Actually creates the trigger.

Parameters

string $trigger: The name of the trigger.

string $op: Either UPDATE or INSERT.

string $prefixed_name: The already prefixed table table.

string $body: The body of the trigger.

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

File

src/Storage/IntColumnHandler.php, line 143

Class

IntColumnHandler
Per database implementation of denormalizing into integer columns.

Namespace

Drupal\dynamic_entity_reference\Storage

Code

protected abstract function createTrigger($trigger, $op, $prefixed_name, $body);