Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit ffa4f4e

Browse files
Ben Glassmandbu
authored andcommitted
Add docs for enable_content_listener option.
1 parent c6365db commit ffa4f4e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

bundles/seo/configuration.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,16 @@ form_group
128128

129129
The name of the form group of the group provided by the Sonata Admin
130130
Extension.
131+
132+
``enable_content_listener``
133+
"""""""""""""""""""""""""""
134+
135+
.. versionadded:: 1.2
136+
The ``enable_content_listener`` configuration key was introduced in SeoBundle 1.2
137+
138+
**type**: ``boolean`` **default**: ``true``
139+
140+
Whether or not the ``Symfony\Cmf\Bundle\SeoBundle\EventListener\ContentListener`` should be loaded
141+
as a ``kernel.request`` listener. The ContentListener is responsible for extracting SEO data from
142+
CMF content documents. Set this to false to disable the listener. If you want to use your own content listener
143+
you will need to register your listener as a service and tag it as a ``kernel.request`` listener.

0 commit comments

Comments
 (0)