Mercurial > hg > isophonics-drupal-site
comparison core/modules/rest/rest.api.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
54 $base = \Drupal::config('serialization.settings')->get('link_domain'); | 54 $base = \Drupal::config('serialization.settings')->get('link_domain'); |
55 $uri = str_replace($base, 'http://mymodule.domain', $uri); | 55 $uri = str_replace($base, 'http://mymodule.domain', $uri); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 | |
60 /** | 59 /** |
61 * Alter the REST relation URI. | 60 * Alter the REST relation URI. |
62 * | 61 * |
63 * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Use | 62 * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. Use |
64 * hook_serialization_relation_uri_alter() instead. This exists solely for BC. | 63 * hook_serialization_relation_uri_alter() instead. This exists solely for BC. |