function hal_test_hal_type_uri_alter
Same name in other branches
- 8.9.x core/modules/hal/tests/modules/hal_test/hal_test.module \hal_test_hal_type_uri_alter()
Implements hook_hal_type_uri_alter().
File
-
core/
modules/ hal/ tests/ modules/ hal_test/ hal_test.module, line 11
Code
function hal_test_hal_type_uri_alter(&$uri, $context = []) {
if (!empty($context['hal_test'])) {
$uri = 'hal_test_type';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.