public static function EntityQueue::loadMultipleByTargetType in Entityqueue 8
Return value
static[] An array of entity queue objects, indexed by their IDs.
Overrides EntityQueueInterface::loadMultipleByTargetType
2 calls to EntityQueue::loadMultipleByTargetType()
- EntityQueueRelationship::buildOptionsForm in src/
Plugin/ views/ relationship/ EntityQueueRelationship.php - Provide a form to edit options for this plugin.
- entityqueue_entity_delete in ./
entityqueue.module - Implements hook_entity_delete().
File
- src/
Entity/ EntityQueue.php, line 339
Class
- EntityQueue
- Defines the EntityQueue entity class.
Namespace
Drupal\entityqueue\EntityCode
public static function loadMultipleByTargetType($target_entity_type_id) {
$ids = \Drupal::entityTypeManager()
->getStorage('entity_queue')
->getQuery()
->condition('entity_settings.target_type', $target_entity_type_id)
->execute();
return $ids ? static::loadMultiple($ids) : [];
}