$modelwithcontent->contentFileDirectory() Returns the absolute path to the folder in which the content file is located kirby/src/Cms/ModelWithContent.php#L197 $modelwithcontent->contentFileDirectory(): string|null Return type string|null Parent class Kirby\Cms\ModelWithContent