setResource($page); } static public function getTab(): string { return MetaManagerForm::TAB_PAGE_VALUE; } static public function getDescription(): string { return "The lead is a tagline for a page"; } static public function getLabel(): string { return "Lead"; } static public function getName(): string { return self::PROPERTY_NAME; } static public function getPersistenceType(): string { return MetadataDokuWikiStore::PERSISTENT_DOKUWIKI_KEY; } static public function isMutable(): bool { return true; } static public function getCanonical(): string { return self::getName(); } public function getDefaultValue() { if ($this->getResource()->isRootHomePage()) { return Site::getTagLine(); } throw new ExceptionNotFound(); } static public function isOnForm(): bool { return true; } }