public Extension::getPath()
Returns the relative path of the extension.
Return value
string
File
- core/lib/Drupal/Core/Extension/Extension.php, line 90
Class
- Extension
- Defines an extension (file) object.
Namespace
Drupal\Core\Extension
Code
public function getPath() { return dirname($this->pathname); }
Please login to continue.