You are here

protected function SchemaMigrator::schemaString in Schema 8

1 call to SchemaMigrator::schemaString()
SchemaMigrator::updateColumnProperties in src/Migration/SchemaMigrator.php

File

src/Migration/SchemaMigrator.php, line 152
Contains Drupal\schema\Migration\SchemaMigrator.

Class

SchemaMigrator
Modifies the database schema to match the declared schema.

Namespace

Drupal\schema\Migration

Code

protected function schemaString($schema) {
  return implode(', ', array_map(function ($k, $v) {
    return $k . '=' . $v;
  }, array_keys($schema), $schema));
}