This plugin is used to filter WCM node types.

To use the plugin in the component configuration, you must use the following target-component:
{code:xml}
<target-component>org.exoplatform.services.cms.templates.TemplateService</target-component>
{code}

The configuration is applied mainly in _/packaging/wcm/webapp/src/main/webapp/WEB-INF/conf/dms-extension/dms/dms-templates-configuration.xml_.

*Sample configuration*:
{code:xml}
<external-component-plugins>
    <target-component>org.exoplatform.services.cms.templates.TemplateService</target-component>
    <component-plugin>
        <name>FilterContentTypeForWCMSpecificFolder</name>
        <set-method>addContentTypeFilterPlugin</set-method>
        <type>org.exoplatform.services.cms.templates.ContentTypeFilterPlugin</type>
        <description>this plugin is used to filter wcm nodetype</description>
        <init-params>
            <object-param>
                <name>cssFolderFilter</name>
                <description>only exo:cssFile can be created in exo:cssFolder</description>
                <object type="org.exoplatform.services.cms.templates.ContentTypeFilterPlugin$FolderFilterConfig">
                    <field name="folderType">
                        <string>exo:cssFolder</string>
                    </field>
                    <field name="contentTypes">
                        <collection type="java.util.ArrayList">
                            <value>
                                <string>exo:cssFile</string>
                            </value>
                        </collection>
                    </field>
                </object>
            </object-param>
            <object-param>
                ...
            </object-param>
        </init-params>
    </component-plugin>
</external-component-plugins>
{code}

In which:
* *Name*: {{FilterContentTypeForWCMSpecificFolder}}
* *Set-method*: {{addContentTypeFilterPlugin}}
* *Type*: {{org.exoplatform.services.cms.templates.ContentTypeFilterPlugin}}

* *Object type*: {{org.exoplatform.services.cms.templates.ContentTypeFilterPlugin$FolderFilterConfig}}
||*Field*||*Type*||*Value*||*Description*||
|*folderType*| {{String}}| {{exo:cssFolder}}|The folder type. |
|*contentTypes*| {{ArrayList}}| _{noformat}{java.util.ArrayList}{noformat}_| The content type. |

