Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR SSF-65 fix a broken image link in the document file.

  • Loading branch information...
commit 9e727533cf7648d180428d4ef73b2d92f5e81a19 1 parent df38971
Normann Lou normann authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/en/howto/customize-cms-tree.md
4 docs/en/howto/customize-cms-tree.md
View
@@ -61,7 +61,7 @@ __Example: using a subclass__
function getScheduledToPublish(){
// return either true or false
}
-
+
function getStatusFlags(){
$flags = parent::getStatusFlags();
$flags['scheduledtopublish'] = "Scheduled To Publish";
@@ -71,6 +71,6 @@ __Example: using a subclass__
The above subclass of `[api:SiteTree]` will add a new flag for indicating its
__'Scheduled To Publish'__ status. The look of the page node will be changed
-from ![Normal Page Node](../_images/page_node_normal.png") to ![Scheduled Page Node](../_images/page_node_scheduled.png). The getStatusFlags has an `updateStatusFlags()`
+from ![Normal Page Node](../_images/page_node_normal.png) to ![Scheduled Page Node](../_images/page_node_scheduled.png). The getStatusFlags has an `updateStatusFlags()`
extension point, so the flags can be modified through `DataExtension` rather than
inheritance as well. Deleting existing flags works by simply unsetting the array key.
Please sign in to comment.
Something went wrong with that request. Please try again.