You are here

public function BlazyManagerBase::entityLoadMultiple in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/BlazyManagerBase.php \Drupal\blazy\BlazyManagerBase::entityLoadMultiple()

Returns a shortcut for loading multiple configuration entities.

1 call to BlazyManagerBase::entityLoadMultiple()
BlazyManager::getResponsiveImageCacheTags in src/BlazyManager.php
Returns the Responsive image cache tags.

File

src/BlazyManagerBase.php, line 133

Class

BlazyManagerBase
Implements BlazyManagerInterface.

Namespace

Drupal\blazy

Code

public function entityLoadMultiple($entity_type = 'image_style', $ids = NULL) {
  return $this->entityTypeManager
    ->getStorage($entity_type)
    ->loadMultiple($ids);
}