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