\Drupflare\Anachron\Drupal\Extension LegacyHookInfo

Gives a legacy `hook_hook_info` answer the shape Drupal 11 indexes.

Summary

Methods
Properties
Constants
normalise
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

normalise()

normalise(mixed  $info) : array<string,array>

Makes every entry an array with a string `group`.

Parameters

mixed $info

What the implementation returned.

Returns

array —

An entry that was not an array, or had no string group, gets the empty group, which Drupal 11 reads as no include file.