comparison core/modules/hal/hal.api.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
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.