media_migration-8.x-1.x-dev/tests/fixtures/drupal7_media/media_restrict_wysiwyg.php

tests/fixtures/drupal7_media/media_restrict_wysiwyg.php
<?php
// phpcs:ignoreFile
/**
 * @file
 * A database agnostic dump for testing purposes.
 *
 * This file was generated by the Drupal 9.2.10 db-tools.php script.
 */

use Drupal\Core\Database\Database;

$connection = Database::getConnection();

$connection->schema()->createTable('media_restrict_wysiwyg', array(
  'fields' => array(
    'type' => array(
      'type' => 'varchar',
      'not null' => TRUE,
      'length' => '255',
      'default' => '',
    ),
    'display' => array(
      'type' => 'varchar',
      'not null' => TRUE,
      'length' => '255',
      'default' => '',
    ),
  ),
  'mysql_character_set' => 'utf8',
));

$connection->insert('media_restrict_wysiwyg')
->fields(array(
  'type',
  'display',
))
->values(array(
  'type' => 'image',
  'display' => 'default',
))
->execute();

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc