Social Format
Categories
Component ID
2912814
Component name
Social Format
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Provides a generic formatter that produces social media icons with a link for several input methods :
- Text and Link Field Formatter
- WYSIWYG text format, for any formatted field
- Twig function
Advantages over other methods: the formatter can be applied on existing content and provides a generic behavior for the several input methods.
Use cases
Social media links defined
- On a block, for the site itself
- On a content (node) that contains plain link fields
Options
- Generic classes based on the social media link
- External library like Fontawesome or Ionicons