protected function RestUIController::getResourceKey in REST UI 8
The key used in the form.
Parameters
string $resource_id: The resource ID.
Return value
string The resource key in the form.
1 call to RestUIController::getResourceKey()
- RestUIController::listResources in src/
Controller/ RestUIController.php - Returns an administrative overview of all REST resources.
File
- src/
Controller/ RestUIController.php, line 307
Class
- RestUIController
- Controller routines for REST resources.
Namespace
Drupal\restui\ControllerCode
protected function getResourceKey($resource_id) {
return str_replace(':', '.', $resource_id);
}