Skip to content

Kirby 5.0.4

$plainTextStorage->model()

Returns the related model

$plainTextStorage->model() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$plainTextStorage->model(): Kirby\Cms\ModelWithContent

Return type

Kirby\Cms\ModelWithContent

This method modifies the existing $plaintextstorage object it is applied to and returns it again.

Parent class

Kirby\Content\PlainTextStorage inherited from Kirby\Content\Storage