$modelWithContent->writeContent()
Low level data writer method to store the given data on disk or anywhere else
Deprecated
in 5.0.0
Use ->version()->save()
instead $modelWithContent->writeContent(array $data, string|null $languageCode = null): bool
Parameters
Name | Type | Default |
---|---|---|
$datarequired | array |
no default value |
$languageCode | string ornull |
null
|
Return type
bool
This method modifies the existing $modelwithcontent
object it is applied to and returns it again.