Esempio n. 1
0
 /**
  * Register an additional prefix for this module.
  * Note: Drupal\<module name>\ is already registered for <module dir>/lib.
  *
  * @deprecated
  *
  * @param string $prefix
  *   The prefix.
  * @param string $prefix_root_dir
  *   Prefix root dir.
  *   If $relative is TRUE, this is relative to the extension 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 prefixRoot($prefix, $prefix_root_dir = NULL, $relative = TRUE)
 {
     $prefix_root_dir = $this->processDir($prefix_root_dir, $relative);
     $this->finder->registerPrefixRoot($prefix, $prefix_root_dir);
 }