public static function StructureSyncHelper::getEntityQuery in Structure Sync 8
Same name and namespace in other branches
- 2.x src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::getEntityQuery()
Function to get an entity query.
Parameters
string $entityType: The entity type (for example, node) for which the query object should be returned.
Return value
\Drupal\Core\Entity\Query\QueryInterface Entity query.
10 calls to StructureSyncHelper::getEntityQuery()
- BlocksController::deleteDeletedBlocks in src/
Controller/ BlocksController.php - Function to delete the custom blocks that should be removed in this import.
- BlocksController::importBlocksFull in src/
Controller/ BlocksController.php - Function to fully import the custom blocks.
- MenuLinksController::deleteDeletedMenuLinks in src/
Controller/ MenuLinksController.php - Function to delete the menu links that should be removed in this import.
- MenuLinksController::importMenuLinksFull in src/
Controller/ MenuLinksController.php - Function to fully import the menu links.
- TaxonomiesController::deleteDeletedTaxonomies in src/
Controller/ TaxonomiesController.php - Function to delete the taxonomies that should be removed in this import.
File
- src/
StructureSyncHelper.php, line 191
Class
- StructureSyncHelper
- Container of functions for importing and exporting content in structure.
Namespace
Drupal\structure_syncCode
public static function getEntityQuery($entityType) {
return \Drupal::entityQuery($entityType);
}