public function Dummy::getInformation in Libraries CDN API 7
Get library information.
Return value
array Return an array containing information about the library.
Overrides CDNBase::getInformation
File
- modules/
libraries_cdn_example_plugin/ src/ Plugin/ LibrariesCDN/ Dummy.php, line 153 - Plugin: jsDelivr.
Class
- Dummy
- Class Dummy.
Namespace
Drupal\libraries_cdn_example_plugin\Plugin\LibrariesCDNCode
public function getInformation() {
return array(
array(
'name' => 'dummy',
'mainfile' => 'jquery.min.js',
'lastversion' => '3.0.0-alpha1',
'description' => 'jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.',
'homepage' => 'http://jquery.com/',
'github' => 'https://github.com/jquery/jquery',
'author' => 'jQuery Foundation',
),
);
}