Skip to content

Commit 6520fb3

Browse files
authored
fix incorrect method names
the method names using the plural, contents, not content.
1 parent f0891e1 commit 6520fb3

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)