function wysiwyg_get_directories

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 wysiwyg.module wysiwyg_get_directories($plugintype)
cle7 wysiwyg.module wysiwyg_get_directories($plugintype)
elmsmedia7 wysiwyg.module wysiwyg_get_directories($plugintype)
icor7 wysiwyg.module wysiwyg_get_directories($plugintype)
meedjum_blog7 wysiwyg.module wysiwyg_get_directories($plugintype)
mooc7 wysiwyg.module wysiwyg_get_directories($plugintype)

Return a list of directories by modules implementing wysiwyg_include_directory().

Parameters

$plugintype: The type of a plugin; can be 'editors'.

Return value

An array containing module names suffixed with '_' and their defined directory.

See also

wysiwyg_load_includes(), _wysiwyg_process_include()

Related topics

1 call to wysiwyg_get_directories()
wysiwyg_load_includes in sites/all/modules/ulmus/wysiwyg/wysiwyg.module
Load include files for wysiwyg implemented by all modules.

File

sites/all/modules/ulmus/wysiwyg/wysiwyg.module, line 1077
Integrates client-side editors with Drupal.

Code

function wysiwyg_get_directories($plugintype) {
  $directories = array();
  foreach (module_implements('wysiwyg_include_directory') as $module) {
    $result = module_invoke($module, 'wysiwyg_include_directory', $plugintype);
    if (isset($result) && is_string($result)) {
      $directories[$module] = drupal_get_path('module', $module) . '/' . $result;
    }
  }
  return $directories;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.