Mercurial > hg > isophonics-drupal-site
comparison core/modules/hal/hal.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 |
---|---|
31 $base = \Drupal::config('hal.settings')->get('link_domain'); | 31 $base = \Drupal::config('hal.settings')->get('link_domain'); |
32 $uri = str_replace($base, 'http://mymodule.domain', $uri); | 32 $uri = str_replace($base, 'http://mymodule.domain', $uri); |
33 } | 33 } |
34 } | 34 } |
35 | 35 |
36 | |
37 /** | 36 /** |
38 * Alter the HAL relation URI. | 37 * Alter the HAL relation URI. |
39 * | 38 * |
40 * Modules may wish to alter the relation URI generated for a resource based on | 39 * Modules may wish to alter the relation URI generated for a resource based on |
41 * the context of the serializer/normalizer operation. | 40 * the context of the serializer/normalizer operation. |