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

Commit 4eaaedf

Browse files
committed
Add version added for menu content voter
1 parent e7b45f3 commit 4eaaedf

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

bundles/menu/menu_documents.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ The standard menu node implements ``PublishTimePeriodInterface`` and
114114
``PublishableInterface``. Please refer to the
115115
:doc:`publish workflow documentation <../core/publish_workflow>`.
116116

117-
The CmfMenuBundle has a `MenuContentVoter`, this voter decides that a menu node
118-
is not published if the content it is pointing to is not published.
117+
.. versionadded:: 1.1
118+
The ``MenuContentVoter`` was added in CmfMenuBundle 1.1. This voter decides
119+
that a menu node is not published if the content it is pointing to is not
120+
published.
119121

120122
.. _`Creating Menus: The Basics`: https://github.com/KnpLabs/KnpMenu/blob/1.1.x/doc/01-Basic-Menus.markdown

bundles/menu/menu_factory.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@ The CMF menu factory also determines if menu nodes are published and therefore
6060
visible by use of the :doc:`publish workflow checker
6161
<../core/publish_workflow>`.
6262

63-
The CmfMenuBundle has a `MenuContentVoter`, this voter decides that a menu node
64-
is not published if the content it is pointing to is not published.
63+
.. versionadded:: 1.1
64+
The ``MenuContentVoter`` was added in CmfMenuBundle 1.1. This voter decides
65+
that a menu node is not published if the content it is pointing to is not
66+
published.

reference/configuration/menu.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ Enable the :ref:`bundles_menu_voters_uri_prefix_voter`.
236236
publish_workflow
237237
~~~~~~~~~~~~~~~~
238238

239+
.. versionadded:: 1.1
240+
The ``publish_workflow`` option was introduced in CmfMenuBundle 1.1.
241+
239242
This configures if the menu content voter for the publish workflow should be
240243
disabled, by default it is enabled if the :doc:`CoreBundle <../../bundles/core/index>`
241244
is registered, and the ``cmf_core.publish_workflow`` is enabled.

0 commit comments

Comments
 (0)