Skip to content

Commit

Permalink
Fix RelationService method call examples
Browse files Browse the repository at this point in the history
  • Loading branch information
amalija-ramljak authored and pspanja committed Jul 30, 2021
1 parent e46881f commit cb56519
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/reference/services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ supports optional filtering by ContentType.
+----------------------------------------+------------------------------------------------------------------------------------+
| **Example** | .. code-block:: php |
| | |
| | $content = $relationService->getFieldRelation( |
| | $content = $relationService->loadFieldRelation( |
| | $content, |
| | 'relations', |
| | ['articles'] |
Expand All @@ -277,7 +277,7 @@ filtering by ContentType.
+----------------------------------------+------------------------------------------------------------------------------------+
| **Example** | .. code-block:: php |
| | |
| | $contentItems = $relationService->getFieldRelations( |
| | $contentItems = $relationService->loadFieldRelations( |
| | $content, |
| | 'relations', |
| | ['articles'] |
Expand All @@ -303,7 +303,7 @@ supports optional filtering by ContentType.
+----------------------------------------+------------------------------------------------------------------------------------+
| **Example** | .. code-block:: php |
| | |
| | $content = $relationService->getFieldRelationLocation( |
| | $content = $relationService->loadFieldRelationLocation( |
| | $content, |
| | 'relations', |
| | ['articles'] |
Expand All @@ -326,7 +326,7 @@ filtering by ContentType.
+----------------------------------------+------------------------------------------------------------------------------------+
| **Example** | .. code-block:: php |
| | |
| | $contentItems = $relationService->getFieldRelationLocations( |
| | $contentItems = $relationService->loadFieldRelationLocations( |
| | $content, |
| | 'relations', |
| | ['articles'] |
Expand Down

0 comments on commit cb56519

Please sign in to comment.