You are here

public static function StructureSyncHelper::getEntityQuery in Structure Sync 2.x

Same name and namespace in other branches
  1. 8 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.

... See full list

File

src/StructureSyncHelper.php, line 191

Class

StructureSyncHelper
Container of functions for importing and exporting content in structure.

Namespace

Drupal\structure_sync

Code

public static function getEntityQuery($entityType) {
  return \Drupal::entityQuery($entityType);
}