You are here

sms_confirmation_message_d6.php in SMS Framework 2.x

A database agnostic dump for testing purposes.

This file was generated by the Drupal 8.0 db-tools.php script.

File

tests/fixtures/migrate/sms_confirmation_message_d6.php
View source
<?php

declare (strict_types=1);

// @codingStandardsIgnoreFile

/**
 * @file
 * A database agnostic dump for testing purposes.
 *
 * This file was generated by the Drupal 8.0 db-tools.php script.
 */
use Drupal\Core\Database\Database;
$connection = Database::getConnection();
$custom_message = 'This is a custom confirmation message from [site-name]. Confirmation code: [confirm-code]';
$connection
  ->insert('variable')
  ->fields([
  'name',
  'value',
])
  ->values([
  'sms_user_confirmation_message',
  serialize($custom_message),
])
  ->execute();