protected function getPostDocument() { // @todo Update in https://www.drupal.org/node/2300677.
return [];
} /**
* {@inheritdoc}
*/
protected function getExpectedCacheContexts(array
$sparse_fieldset = NULL
) { return Cache::
mergeContexts(parent::
getExpectedCacheContexts(),
['languages:language_interface'
]);
} /**
* Tests a GET request for a default config entity, which has a _core key.
*
* @see https://www.drupal.org/project/drupal/issues/2915539
*/
public function testGetIndividualDefaultConfig() { // @todo Remove line below in favor of commented line in https://www.drupal.org/project/drupal/issues/2878463.
$url = Url::
fromRoute('jsonapi.configurable_language--configurable_language.individual',
['entity' => ConfigurableLanguage::
load('en'
)->
uuid()]);
/* $url = ConfigurableLanguage::load('en')->toUrl('jsonapi'); */