module_load_include($type, $module, $name = NULL)

  • $type: The include file's type (file extension).
  • $module: The module to which the include file belongs.
  • $name: (optional) The base file name. Omitted: $name = $module
  • return: The name of the included file, if successful; FALSE otherwise.
  • Beispiel: module_load_include('pages.inc', 'user', NULL);
    Aktion: lädt Datei „$module/user.pages.inc“ (drupal_get_path('module', $module) . „/$name.$type“;)
drupal/funcs/module.txt · Zuletzt geändert: 2022/06/06 15:13 von 127.0.0.1
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki