module:path

Returns the relative path to the module (or absolute path)

Usage:

drupal module:path [arguments] [options]
mop

Available options

Option Details
--absolute Return module absolute path

Available arguments

Argument Details
module The Module name (machine name)

Examples

  • Get the relative path of the module specifying the module name
    drupal module:path  modulename