$modelWithContent->readContent()
Read the content from the content file
Deprecated
in 5.0.0
Use ->version()->read()
instead $modelWithContent->readContent(string|null $languageCode = null): array
Parameters
Name | Type | Default |
---|---|---|
$languageCode | string ornull |
null
|
Return type
array
This method modifies the existing $modelwithcontent
object it is applied to and returns it again.