You are here

public function WebformLibrariesManager::getLibrary in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformLibrariesManager.php \Drupal\webform\WebformLibrariesManager::getLibrary()

Get library information.

Parameters

string $name: The name of the library.

Return value

array An associative array containing an library.

Overrides WebformLibrariesManagerInterface::getLibrary

File

src/WebformLibrariesManager.php, line 213

Class

WebformLibrariesManager
Webform libraries manager.

Namespace

Drupal\webform

Code

public function getLibrary($name) {
  $libraries = $this
    ->getLibraries();
  return $libraries[$name];
}