easy-social.html.twig in Easy Social 8.4
Same filename and directory in other branches
Default theme implementation for a date / time element.
Available variables
- attributes: (optional) HTML attributes to apply to the block.
- widgets: The widgets to be rendered.
- async: If we want to render JS ASsynchronously.
- config: The widget configuration.
2 theme calls to easy-social.html.twig
- EasySocialBlock::build in src/
Plugin/ Block/ EasySocialBlock.php - Implements \Drupal\Block\BlockBase::blockBuild().
- easy_social_entity_view in ./
easy_social.module - Implements hook_entity_view().
File
templates/easy-social.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a date / time element.
- *
- * Available variables
- * - attributes: (optional) HTML attributes to apply to the block.
- * - widgets: The widgets to be rendered.
- * - async: If we want to render JS ASsynchronously.
- * - config: The widget configuration.
- *
- */
- #}
-
- <ul class="easy_social_box clearfix {{ atributes.classes }}" {{ attributes }}>
- {% for key, widget in widgets %}
- <li class="easy_social-widget easy_social-widget-{{ key }}"> {{ widget }} </li>
- {% endfor %}
- </ul>