public function ContentHubCommonActions::importEntities in Acquia Content Hub 8.2
Import a group of entities by their uuids from the ContentHub Service.
The uuids passed are just the list of entities you absolutely want, ContentHub will calculate all the missing entities and ensure they are installed on your site.
Parameters
string ...$uuids @codingStandardsIgnoreLine: The list of uuids to import.
Return value
\Drupal\depcalc\DependencyStack The DependencyStack object.
Throws
\Exception
File
- src/
ContentHubCommonActions.php, line 177
Class
- ContentHubCommonActions
- Common actions across the entirety of Content Hub.
Namespace
Drupal\acquia_contenthubCode
public function importEntities(string ...$uuids) {
//@codingStandardsIgnoreLine
$document = $this
->getCdfDocument(...$uuids);
return $this
->importEntityCdfDocument($document);
}