Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Hooks provided by the Help Topics module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @addtogroup hooks
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Perform alterations on help topic definitions.
|
|
|
|
*
|
|
|
|
* @param array $info
|
|
|
|
* Array of help topic plugin definitions keyed by their plugin ID.
|
2019-10-14 22:39:21 +00:00
|
|
|
*
|
|
|
|
* @internal
|
|
|
|
* Help Topics is currently experimental and should only be leveraged by
|
|
|
|
* experimental modules and development releases of contributed modules.
|
|
|
|
* See https://www.drupal.org/core/experimental for more information.
|
Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
*/
|
|
|
|
function hook_help_topics_info_alter(array &$info) {
|
|
|
|
// Alter the help topic to be displayed on admin/help.
|
|
|
|
$info['example.help_topic']['top_level'] = TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @} End of "addtogroup hooks".
|
|
|
|
*/
|