Skip to content

Commit 50aecbd

Browse files
committed
minor #6933 fix incorrect method names (tacman)
This PR was merged into the 4.x branch. Discussion ---------- fix incorrect method names the method names using the plural, contents, not content. <!-- Thanks for your contribution! If you are proposing a new feature that is complex, please open an issue first so we can discuss about it. Note: all your contributions adhere implicitly to the MIT license --> Commits ------- 6520fb3 fix incorrect method names
2 parents db3e0f2 + 6520fb3 commit 50aecbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/fields.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,8 @@ contents to the ``<head>`` and/or ``<body>`` elements of the backend pages::
878878
->addCssFiles('bundle/some-bundle/foo.css', 'some-custom-styles.css')
879879
->addJsFiles('admin/some-custom-code.js')
880880
->addWebpackEncoreEntry('admin-maps')
881-
->addHtmlContentToHead('<link rel="dns-prefetch" href="https://assets.example.com">')
882-
->addHtmlContentToBody('<!-- generated at '.time().' -->')
881+
->addHtmlContentsToHead('<link rel="dns-prefetch" href="https://assets.example.com">')
882+
->addHtmlContentsToBody('<!-- generated at '.time().' -->')
883883
;
884884

885885
By default, these web assets are loaded in all backend pages. If you need a more

0 commit comments

Comments
 (0)