You are here

public function RedirectRepository::loadMultiple in Redirect 8

Loads multiple redirect entities.

Parameters

array $redirect_ids: Redirect ids to load.

Return value

\Drupal\redirect\Entity\Redirect[] List of redirect entities.

File

src/RedirectRepository.php, line 179

Class

RedirectRepository

Namespace

Drupal\redirect

Code

public function loadMultiple(array $redirect_ids = NULL) {
  return $this->manager
    ->getStorage('redirect')
    ->loadMultiple($redirect_ids);
}