drush devel:hookfor drush 9x

List implementations of a given hook and optionally edit one.

drush devel:hook

  • Aliases

    devel:hook has 4 alias/es:

    drush fnh

    drush fn-hook

    drush hook

    drush devel-hook

  • Arguments

    devel:hook accepts 2 argument/s:

    hook* : The name of the hook to explore.

    implementation* : The name of the implementation to edit. Usually omitted.

  • Options

    devel:hook accepts 5 option/s:


    --editor : editor


    --bg : bg


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    List implementations of hook_cron().

    devel-hook cron

  • Comments

    comments powered by Disqus