You are here

function editor_editor_profiles in Editor 6

Same name and namespace in other branches
  1. 5 editor.profiles.inc \editor_editor_profiles()

Default editor profiles.

File

./editor.profiles.inc, line 13
Provides default profiles. @author Tj Holowaychuk <http://www.350designs.com/> @package Editor

Code

function editor_editor_profiles() {
  $profiles = array();

  // Small
  $profile_string = 'bold italic ul li | align_left align_center align_right | link mailto image ';
  $profiles[] = editor_profile_create('small', t('Small'), $profile_string, t('Limits to basic plugins.'));

  // Large
  $profile_string = 'bold italic ul li | align_left align_center align_justify align_right | code php | table link mailto image | undo redo html';
  $profiles[] = editor_profile_create('large', t('Large'), $profile_string, t('All core plugins.'));
  return $profiles;
}