diff --git a/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php b/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php index 49dca7d40..045d46123 100644 --- a/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php +++ b/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php @@ -36,6 +36,13 @@ interface PageContentInterface */ public function summary($size = null, $textOnly = false); + /** + * Sets the summary of the page + * + * @param string $summary Summary + */ + public function setSummary($summary); + /** * Gets and Sets the content based on content portion of the .md file * diff --git a/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php b/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php index abe6167d2..0ace98b4a 100644 --- a/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php +++ b/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php @@ -51,13 +51,6 @@ interface PageLegacyInterface public function httpHeaders(); - /** - * Sets the summary of the page - * - * @param string $summary Summary - */ - public function setSummary($summary); - /** * Get the contentMeta array and initialize content first if it's not already *