Skip to content

Commit d1838ee

Browse files
committed
Changed normal link to special :phpmethod: link
1 parent daa427a commit d1838ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

reference/forms/types/locale.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ the ISO3166 *country* code (e.g. ``fr_FR`` for French/France).
1414

1515
.. note::
1616

17-
The locale of your user is guessed using `Locale::getDefault()`_
17+
The locale of your user is guessed using :phpmethod:`Locale::getDefault()`
1818

1919
Unlike the ``choice`` type, you don't need to specify a ``choices`` or
2020
``choice_list`` option as the field type automatically uses a large list
@@ -59,6 +59,4 @@ These options inherit from the :doc:`field</reference/forms/types/field>` type:
5959

6060
.. include:: /reference/forms/types/options/label.rst.inc
6161

62-
.. include:: /reference/forms/types/options/read_only.rst.inc
63-
64-
.. _`Locale::getDefault()`: http://php.net/manual/en/locale.getdefault.php
62+
.. include:: /reference/forms/types/options/read_only.rst.inc

0 commit comments

Comments
 (0)