public function CDNBase::search in Libraries CDN API 7
Perform a search for a library.
Return value
array The resulting array.
Overrides CDNBaseInterface::search
1 method overrides CDNBase::search()
- Dummy::search in modules/
libraries_cdn_example_plugin/ src/ Plugin/ LibrariesCDN/ Dummy.php - Perform a search for a library.
File
- src/
Type/ CDNBase.php, line 139 - Class CDNBase.
Class
- CDNBase
- Class CDNBase.
Namespace
Drupal\libraries_cdn\TypeCode
public function search($library) {
$this
->setLibrary($library);
$data = $this
->formatData(__FUNCTION__, $this
->query($this
->getURL(__FUNCTION__)));
return $data;
}