->
set('url.prefixes.ca', 'ca'
) ->
set('url.prefixes.ca-fr', 'ca-fr'
) ->
save();
ContentLanguageSettings::
create([ 'target_entity_type_id' => 'node',
'target_bundle' => 'article',
]) ->
setThirdPartySetting('content_translation', 'enabled', TRUE
) ->
save();
$this->
createDefaultContent(5, 5, TRUE, TRUE,
static::IS_MULTILINGUAL, FALSE
);
} /**
* Tests reading multilingual content.
*/
public function testReadMultilingual() { // Different databases have different sort orders, so a sort is required so
// test expectations do not need to vary per database.
$default_sort =
['sort' => 'drupal_internal__nid'
];
// Test reading an individual entity translation.