hook_help is fired on every page request we shouldn't do anything unnecessary without checking the passed in route name.

CommentFileSizeAuthor
d8.hook_help.patch3.28 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

So this is the light of a supernova, ... neutrinos have been sent earlier, see https://www.wikiwand.com/en/Supernova_Early_Warning_System

xjm’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +Performance

Nice. This issue is a normal bug fix as well as a small performance improvement, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed and pushed to 8.0.x!

  • xjm committed 8adfd45 on 8.0.x
    Issue #2474567 by alexpott: Remove unneeded code in hook_help...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.