diff --git a/core/modules/contextual/contextual.module b/core/modules/contextual/contextual.module index 72f41de..7ccd726 100644 --- a/core/modules/contextual/contextual.module +++ b/core/modules/contextual/contextual.module @@ -88,7 +88,7 @@ function contextual_help($route_name, RouteMatchInterface $route_match) { '#src' => file_create_url('core/misc/icons/bebebe/pencil.svg'), '#alt' => t('contextual links button') ]; - \Drupal::service('renderer')->render($sample_picture); + $sample_picture = \Drupal::service('renderer')->render($sample_picture); $output .= '
  • ' . t('Hovering over the area of interest will temporarily make the contextual links button visible (which looks like a pencil in most themes, and is normally displayed in the upper right corner of the area). The icon typically looks like this: @picture', array('@picture' => $sample_picture)) . '
  • '; $output .= '
  • ' . t('If you have the Toolbar module enabled, clicking the contextual links button in the toolbar (which looks like a pencil) will make all contextual links buttons on the page visible. Clicking this button again will toggle them to invisible.', array('!toolbar' => (\Drupal::moduleHandler()->moduleExists('toolbar')) ? \Drupal::url('help.page', array('name' => 'toolbar')) : '#')) . '
  • '; $output .= '';