Enabling context in a panel plugin 17/02/2016 Leandro Luvigne Backend Developer In Drupal 7: /** * Plugin definition. */ $plugin = array( 'title' => t('TITLE'), 'category' => t('CATEGORY'), 'render callback' => 'callback_render_function', 'all contexts' => TRUE, // Enables the context of the panel );
Contexts Modifying weight blocks in context Pepe García How modify weight blocks in context, useful when two contexts execute in the same route. Read article Modifying weight blocks in context La Drupalera José García García
Others How to programmatically apply an image style in Drupal Antonio Jesús Mantis Benítez The objective of this snippet is to enable you to render an image with code using a Drupal image style. Read article How to programmatically apply an image style in Drupal La Drupalera ajmantis
Performance How to enable the configuration of node properties in view modes in Drupal 8 Leandro Luvigne The purpose of this Drupal 8’s snippet is to enable the configuration of some of the node properties in view modes via interface. Read article How to enable the configuration of node properties in view modes in Drupal 8 La Drupalera lluvigne