mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Doc added for method getURLForTranslationAndLocale
Use tabs for indention
This commit is contained in:
parent
36f7d011da
commit
da6fdbb09b
@ -115,8 +115,10 @@ class LanguageDropdownField extends GroupedDropdownField {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Get the CMS edit url for a translated version of a record
|
||||||
|
*
|
||||||
* @param $request
|
* @param $request
|
||||||
* @return string
|
* @return url
|
||||||
*/
|
*/
|
||||||
function getURLForTranslationAndLocale($request) {
|
function getURLForTranslationAndLocale($request) {
|
||||||
$id = (int)$request->requestVar('id');
|
$id = (int)$request->requestVar('id');
|
||||||
|
Loading…
Reference in New Issue
Block a user