mirror of
https://github.com/getgrav/grav.git
synced 2026-02-13 18:18:00 +01:00
Moved setSummary() from PageLegacyInterface to PageContentInterface
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user