Révision 1afa1695
Ajouté par Assos Assos il y a environ 9 ans
drupal7/modules/field_ui/field_ui.admin.inc | ||
---|---|---|
2105 | 2105 |
$destinations = !empty($_REQUEST['destinations']) ? $_REQUEST['destinations'] : array(); |
2106 | 2106 |
if (!empty($destinations)) { |
2107 | 2107 |
unset($_REQUEST['destinations']); |
2108 |
} |
|
2109 |
// Remove any external URLs. |
|
2110 |
$destinations = array_diff($destinations, array_filter($destinations, 'url_is_external')); |
|
2111 |
if ($destinations) { |
|
2108 | 2112 |
return field_ui_get_destinations($destinations); |
2109 | 2113 |
} |
2110 | 2114 |
$admin_path = _field_ui_bundle_admin_path($entity_type, $bundle); |
Formats disponibles : Unified diff
Udpate to 7.38