public function IntColumnHandlerInterface::create in Dynamic Entity Reference 8.2
Creates the _int columns and the triggers for them.
Parameters
string $table: The non-prefix table to operate on.
array $columns: The DER target_id columns.
array $index_columns: Table columns that should be added to the index that is created for the new _int column.
Return value
array The list of new target_id_int columns.
2 methods override IntColumnHandlerInterface::create()
- IntColumnHandler::create in src/
Storage/ IntColumnHandler.php - Creates the _int columns and the triggers for them.
- IntColumnHandlerPostgreSQL::create in src/
Storage/ IntColumnHandlerPostgreSQL.php - Creates the _int columns and the triggers for them.
File
- src/
Storage/ IntColumnHandlerInterface.php, line 24
Class
- IntColumnHandlerInterface
- The interface for IntColumnHandler.
Namespace
Drupal\dynamic_entity_reference\StorageCode
public function create($table, array $columns, array $index_columns = []);