You are here

public function BlazyManagerBase::entityLoadMultiple in Blazy 8.2

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

Returns a shortcut for loading multiple configuration entities.

2 calls to BlazyManagerBase::entityLoadMultiple()
BlazyFormatter::cropStyles in src/BlazyFormatter.php
Returns available image styles with crop in the name.
BlazyManagerBase::getResponsiveImageStyles in src/BlazyManagerBase.php
Returns the Responsive image styles and caches tags.

File

src/BlazyManagerBase.php, line 209

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);
}