Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
have the default profiles could be defined a submodule or have some other way not to create them.
/**
* Implements hook_install().
*/
function myfeature_install() {
module_load_include('ckeditor', 'inc', 'includes/ckeditor.admin');
ckeditor_profile_delete('Advanced');
ckeditor_profile_delete('Full');
}
will remove them
Comment | File | Size | Author |
---|---|---|---|
#3 | creating_advanced_full-2154039-3.patch | 1.01 KB | discipolo |
Comments
Comment #1
SebCorbin CreditAttribution: SebCorbin commentedThis could be disabled by some variable.
Or better, check if the
full_html
andfiltered_html
input formats existComment #2
discipolo CreditAttribution: discipolo commentedif using this patch i can prevent ckeditor from creating those profiles on install by the following method in my install profile:
#1443108: installation during install profile can cause problems due to hook_init() starting poorman's cron process
this wont remove those ckeditor profiles but prevent them from being assigned to an input format.
Comment #3
discipolo CreditAttribution: discipolo commented