Skip to content

Commit beb04cc

Browse files
Fix refernce bundle paragraph spaces (#801)
1 parent ef86dac commit beb04cc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

bundles/reference.rst

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ and location in which an entity is utilized. Presently, the ReferenceBundle is c
77
Media within PHPCR entities such as `pages` and `snippets`. These references are managed distinctly for the draft
88
state within the `admin context` and the live state within the `website context`.
99

10-
|
11-
1210
The main reason we need this bundle is that, unlike traditional database references, our content management system
1311
operates on an unstructured data model. Therefore, we cannot rely solely on database references, which are usually preferred.
1412
It is essential to note that the ReferenceBundle should only be used for unstructured data, where database relations are
1513
not feasible.
1614

17-
|
18-
1915
Content maintainers are able to see the references to a specific entity in the `Insights` tab of an entity like `Snippet`.
2016

2117
.. figure:: ../img/snippet-insights.png
@@ -34,7 +30,6 @@ references by executing the `bin/console sulu:references:refresh` command. This
3430
3531
bin/console sulu:references:refresh <resource-key>
3632
37-
3833
.. note::
3934

4035
Please note that references are only refreshed for the current context. To refresh the references for both the
@@ -47,8 +42,6 @@ To integrate the ReferenceBundle for custom content-types, you need to implement
4742
content-type class. The interface requires you to implement the `getReferences` method. The method already receives the
4843
`ReferenceCollector` which you can use to add references to the collector.
4944

50-
|
51-
5245
Example implementation for a custom content-type:
5346

5447
.. code-block:: php
@@ -65,4 +58,4 @@ Example implementation for a custom content-type:
6558
(string) $data['id'],
6659
$propertyPrefix . $property->getName()
6760
);
68-
}
61+
}

0 commit comments

Comments
 (0)