On August 24, 2020 . By CodimTh Category: Web Drupal Code snippet that can be used to add AddToAny buttons to custom template in Drupal 8. <div class="some-sharing-links"> {{ content.addtoany }} </div> <div{{ content_attributes.addClass('content') }}> {{ content|without('addtoany') }} </div> Tags : Drupal 8 Tutorial Drupal Tips Drupal Previous PostWhat is the difference in State API and Configuration API in Drupal 8Next PostHow to get formatted node creation date in Drupal 8 Comments Add new comment Your name Subject Comment About text formats Restricted HTML Leave this field blank
Comments