You are here

function _ueditor_get_wysiwyg in UEditor - 百度编辑器 7.2

Same name and namespace in other branches
  1. 7.3 ueditor.module \_ueditor_get_wysiwyg()

ueditor get profiles with use ueditor.

6 calls to _ueditor_get_wysiwyg()
ueditor_entity_delete in ./ueditor.module
Implements hook_entity_delete().
ueditor_entity_insert in ./ueditor.module
Implements hook_entity_insert().
ueditor_entity_presave in ./ueditor.module
Implements hook_entity_presave().
ueditor_entity_update in ./ueditor.module
Implementation of hook_entity_update().
ueditor_entity_view in ./ueditor.module
Implements hook_entity_view().

... See full list

File

./ueditor.module, line 1057
Integration ueditor for wysiwyg.

Code

function _ueditor_get_wysiwyg() {
  $editor_profiles = array();
  $profiles = wysiwyg_profile_load_all();
  foreach ($profiles as $key => $profile) {
    if (isset($profile->editor) && $profile->editor == 'ueditor') {
      $editor_profiles[] = $key;
    }
  }
  return $editor_profiles;
}