constant MediaMigrationFilterFormatTest::TEST_DATABASE in Media Migration 8
Base test database.
@const array[]
File
- tests/
src/ Kernel/ Migrate/ MediaMigrationFilterFormatTest.php, line 599
Class
- MediaMigrationFilterFormatTest
- Tests the Media Migration altered filter format migration.
Namespace
Drupal\Tests\media_migration\Kernel\MigrateCode
const TEST_DATABASE = [
'system' => [
[
'name' => 'filter',
'schema_version' => 7001,
'type' => 'module',
'status' => 1,
],
[
'name' => 'text',
'schema_version' => 7001,
'type' => 'module',
'status' => 1,
],
[
'name' => 'linkit',
'schema_version' => 7001,
'type' => 'module',
'status' => 1,
],
],
'filter_format' => [
[
'format' => 'filtered_html',
'name' => 'Filtered HTML',
'cache' => 1,
'status' => 1,
'weight' => 0,
],
],
'filter' => [
[
'format' => 'filtered_html',
'module' => 'filter',
'name' => 'filter_autop',
'weight' => '-1',
'status' => '1',
'settings' => 'a:0:{}',
],
[
'format' => 'filtered_html',
'module' => 'filter',
'name' => 'filter_html',
'weight' => '-4',
'status' => '1',
'settings' => 'a:3:{s:12:"allowed_html";s:74:"<a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>";s:16:"filter_html_help";i:1;s:20:"filter_html_nofollow";i:0;}',
],
[
'format' => 'filtered_html',
'module' => 'filter',
'name' => 'filter_htmlcorrector',
'weight' => '0',
'status' => '1',
'settings' => 'a:0:{}',
],
[
'format' => 'filtered_html',
'module' => 'filter',
'name' => 'filter_html_escape',
'weight' => '-50',
'status' => '0',
'settings' => 'a:0:{}',
],
[
'format' => 'filtered_html',
'module' => 'filter',
'name' => 'filter_url',
'weight' => '-2',
'status' => '1',
'settings' => 'a:1:{s:17:"filter_url_length";s:2:"72";}',
],
[
'format' => 'filtered_html',
'module' => 'media_wysiwyg',
'name' => 'media_filter',
'weight' => '-3',
'status' => '1',
'settings' => 'a:0:{}',
],
[
'format' => 'filtered_html',
'module' => 'media_wysiwyg',
'name' => 'media_filter_paragraph_fix',
'weight' => '-46',
'status' => '0',
'settings' => 'a:1:{s:7:"replace";i:0;}',
],
],
'file_managed' => [
[
'fid' => 1,
],
],
];