function twitter_feed_libraries_info in Twitter_Feed 8
Implements hook_libraries_info().
1 call to twitter_feed_libraries_info()
- twitter_feed_library_info_build in ./
twitter_feed.module - Implements hook_library_info_build().
File
- ./
twitter_feed.module, line 25 - Twitter module hooks.
Code
function twitter_feed_libraries_info() {
$libraries['timeago'] = [
'name' => 'TimeAgo',
'vendor url' => 'http://timeago.yarp.com',
'download url' => 'https://github.com/rmm5t/jquery-timeago/zipball/v1.5.2',
'version arguments' => [
'file' => 'jquery.timeago.js',
// @version 1.5.2
'pattern' => '@version\\s+([0-9a-zA-Z\\.-]+)@',
'lines' => 10,
],
'files' => [
'js' => [
'jquery.timeago.js',
],
],
];
return $libraries;
}