Last change
on this file since 1776 was
1776,
checked in by liebster, 14 years ago
|
Added monkey patch listMetaTags method
|
File size:
335 bytes
|
Line | |
---|
1 | from Products.CMFPlone.PloneTool import PloneTool |
---|
2 | |
---|
3 | originalListMetaTags = PloneTool.listMetaTags |
---|
4 | |
---|
5 | def qsListMetaTags(self, context): |
---|
6 | """ Custom listMetaTags method |
---|
7 | """ |
---|
8 | return {} |
---|
9 | |
---|
10 | def qsListMetaTagsOriginal(self, context): |
---|
11 | """ Returned original method listMetaTags |
---|
12 | """ |
---|
13 | return originalListMetaTags(self, context) |
---|
Note: See
TracBrowser
for help on using the repository browser.