public function WebformLibrariesManager::getLibrary in Webform 6.x
Same name and namespace in other branches
- 8.5 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 253
Class
- WebformLibrariesManager
- Webform libraries manager.
Namespace
Drupal\webformCode
public function getLibrary($name) {
$libraries = $this
->getLibraries();
return $libraries[$name];
}