forked from silverstripe/silverstripe-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Apply raw2xml before extension hook
- Loading branch information
1 parent
4ca8dfd
commit f03e59a
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace SilverStripe\ORM\Tests\HierarchyTest; | ||
|
||
use SilverStripe\Dev\TestOnly; | ||
use SilverStripe\Core\Extension; | ||
|
||
class TestTreeTitleExtension extends Extension implements TestOnly | ||
{ | ||
protected function updateTreeTitle(string &$title) | ||
{ | ||
$title = "<i>$title</i>"; | ||
} | ||
} |