public function ContentHubEntityImportController::importEntity in Acquia Content Hub 8
Imports a Content Hub Entity local site, given its UUID.
Parameters
string $uuid: The UUID of the Entity to save.
Return value
\Symfony\Component\HttpFoundation\JsonResponse A JSON Response.
1 string reference to 'ContentHubEntityImportController::importEntity'
File
- src/
Controller/ ContentHubEntityImportController.php, line 61
Class
- ContentHubEntityImportController
- Controller for Content Hub Imported Entities.
Namespace
Drupal\acquia_contenthub\ControllerCode
public function importEntity($uuid) {
return $this->importEntityManager
->import($uuid);
}