setResource($page); } public function getDefaultValue(): ?DateTime { return null; } public function getValue(): ?string { return $this->getResource()->getPath()->toString(); } static public function getName(): string { return self::PROPERTY_NAME; } public function getPersistenceType(): string { return Metadata::DERIVED_METADATA; } public function getTab(): string { return MetaManagerForm::TAB_REDIRECTION_VALUE; } public function getDescription(): string { return "The path of the page on the file system (in wiki format with the colon `:` as path separator)"; } public function getLabel(): string { return "Page Path"; } public function getMutable(): bool { return false; } public function getCanonical(): string { return self::PROPERTY_NAME; } }