function social_media_links_page_attachments in Social Media Links Block and Field 8.2
Attaching css file.
File
- ./
social_media_links.module, line 70 - Allows to add a block with the links to various social media platforms.
Code
function social_media_links_page_attachments(array &$attachments) {
$attachments['#attached']['library'][] = 'social_media_links/social_media_links.theme';
}