Skip to main content

Timeline for How to render a facet block?

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Feb 25, 2021 at 5:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 18, 2020 at 4:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 12, 2020 at 23:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 6, 2020 at 9:45 answer added FreMun timeline score: 4
Feb 24, 2020 at 0:00 history tweeted twitter.com/StackDrupal/status/1231730696022102016
Apr 13, 2017 at 12:47 history edited CommunityBot
replaced http://drupal.stackexchange.com/ with https://drupal.stackexchange.com/
Mar 30, 2016 at 7:16 comment added marco-s Thank you for your answers. Berdir, what do you mean with "build a structure similar to what BlockViewBuilder does" exactly? Can you make a example? Thank you very much!
Mar 23, 2016 at 18:47 comment added Berdir Yes, that works, assuming that you have a block. See drupal.stackexchange.com/questions/153184/…. build of the plugin just contains the content of the block. Page manager uses block plugins too and has its own templates. You could build a structure similar to what BlockViewBuilder does or you could simply add your markup around it yourself in your template.
Mar 23, 2016 at 14:40 comment added user21641 try \Drupal::entityTypeManager()->getViewBilder('block')->view($block, $view_mode). Also you need the block entity, not plugin. Block entity basically bundles the plugin and configuration for it together. Discard previous, just entity_load('block', $id)->view($view_mode) should work.
Mar 23, 2016 at 7:59 review First posts
Mar 23, 2016 at 8:18
Mar 23, 2016 at 7:55 history asked marco-s CC BY-SA 3.0