/** * Register an additional namespace for this module. * Note: Drupal\<module name>\ is already registered for <module dir>/lib. * * @deprecated * * @param string $namespace * The namespace * @param string $psr_0_root_dir * PSR-0 root dir. * If $relative is TRUE, this is relative to the current module dir. * If $relative is FALSE, this is an absolute path. * @param boolean $relative * Whether or not the path is relative to the current extension dir. */ function namespaceRoot($namespace, $psr_0_root_dir = NULL, $relative = TRUE) { $psr_0_root_dir = $this->processDir($psr_0_root_dir, $relative); $this->finder->registerNamespaceRoot($namespace, $psr_0_root_dir); }