Issue #2161759 by Wim Leers, sun: Remove unused drupalSettings.ckeditor.modulePath setting.

8.0.x
webchick 2014-01-13 22:45:27 -08:00
parent 0b99fde9a2
commit c50ff11e93
1 changed files with 0 additions and 6 deletions

View File

@ -37,17 +37,11 @@ function ckeditor_help($path, $arg) {
function ckeditor_library_info() { function ckeditor_library_info() {
$module_path = drupal_get_path('module', 'ckeditor'); $module_path = drupal_get_path('module', 'ckeditor');
$settings = array(
'ckeditor' => array(
'modulePath' => drupal_get_path('module', 'ckeditor'),
),
);
$libraries['drupal.ckeditor'] = array( $libraries['drupal.ckeditor'] = array(
'title' => 'Drupal behavior to enable CKEditor on textareas.', 'title' => 'Drupal behavior to enable CKEditor on textareas.',
'version' => \Drupal::VERSION, 'version' => \Drupal::VERSION,
'js' => array( 'js' => array(
$module_path . '/js/ckeditor.js' => array(), $module_path . '/js/ckeditor.js' => array(),
array('data' => $settings, 'type' => 'setting'),
), ),
'css' => array( 'css' => array(
$module_path . '/css/ckeditor.css' => array(), $module_path . '/css/ckeditor.css' => array(),