AccessController.php |
src/Controller/AccessController.php |
Drupal\social_media\Controller |
|
ForwardEmailForm.php |
src/Form/ForwardEmailForm.php |
Drupal\social_media\Form |
|
README.txt |
README.txt |
|
The social media share module allows the user share
current page to different social media.
Social media share is rendered as block and as field type
as well and you can customize as much
as you can in Configuration page and settings page.
Event… |
social-media-links.html.twig |
templates/social-media-links.html.twig |
|
{#
/**
* Available variables
* - elements: array of element contains social media link.
*
*/
#}
<div class="social-media-sharing">
<ul class="">
{% set classes = [
'share'
]
%}
{%… |
SocialMediaAdminForm.php |
src/Form/SocialMediaAdminForm.php |
Drupal\social_media\Form |
|
SocialMediaEvent.php |
src/Event/SocialMediaEvent.php |
Drupal\social_media\Event |
|
SocialMediaFormatter.php |
src/Plugin/Field/FieldFormatter/SocialMediaFormatter.php |
Drupal\social_media\Plugin\Field\FieldFormatter |
|
SocialMediaItem.php |
src/Plugin/Field/FieldType/SocialMediaItem.php |
Drupal\social_media\Plugin\Field\FieldType |
|
SocialMediaWidget.php |
src/Plugin/Field/FieldWidget/SocialMediaWidget.php |
Drupal\social_media\Plugin\Field\FieldWidget |
|
SocialSharingBlock.php |
src/Plugin/Block/SocialSharingBlock.php |
Drupal\social_media\Plugin\Block |
|
social_media.api.php |
social_media.api.php |
Drupal\social_media\EventSubscriber |
|
social_media.css |
css/social_media.css |
|
.social-media-sharing {
display: block;
}
.social-media-sharing ul {
padding-left: 0px;
display: inline-flex;
text-align: center;
}
.social-media-sharing li {
display: inline-block;
margin-right: 15px;
list-style: none;
… |
social_media.info.yml |
social_media.info.yml |
|
social_media.info.yml |
social_media.install |
social_media.install |
|
|
social_media.libraries.yml |
social_media.libraries.yml |
|
social_media.libraries.yml |
social_media.links.menu.yml |
social_media.links.menu.yml |
|
social_media.links.menu.yml |
social_media.module |
social_media.module |
|
Contains social_media.module.. |
social_media.routing.yml |
social_media.routing.yml |
|
social_media.routing.yml |
social_media.settings.yml |
config/install/social_media.settings.yml |
|
config/install/social_media.settings.yml |