drush en allowed_formats
The following extensions will be enabled: allowed_formats
Do you really want to continue? (y/n): y
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot redeclare _allowed_formats_remove_textarea_help() (previously declared
in drupal-8.6/html/modules/contrib/campaign_kit/campaign_kit.module:654)
in drupal-8.6/html/modules/download/allowed_formats/allowed_formats.module,

Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

Title: Cannot redeclare _allowed_formats_remove_textarea_help( » Cannot redeclare _allowed_formats_remove_textarea_help if I use the allowed_formats module
socialnicheguru’s picture

Status: Active » Needs review
StatusFileSize
new2.26 KB

renamed affected function and function calls.

socialnicheguru’s picture

socialnicheguru’s picture

aangel’s picture

Anietie, are you using the latest version? This issue shows alpha 3.

aangel’s picture

Status: Needs review » Closed (outdated)
josebc’s picture

Version: 8.x-1.0-alpha3 » 2.0.x-dev
Status: Closed (outdated) » Active
josebc’s picture

Status: Active » Needs review
StatusFileSize
new3.84 KB

re-roll

rajab natshah’s picture

StatusFileSize
new3.49 KB
rajab natshah’s picture

StatusFileSize
new3.9 KB
rajab natshah’s picture

Title: Cannot redeclare _allowed_formats_remove_textarea_help if I use the allowed_formats module » Fix Cannot redeclare _allowed_formats_remove_textarea_help if I use the allowed_formats module
Issue tags: +Support text_format's allowed formats
socialnicheguru’s picture

@aangel, yes it still applies in 3. My patch in https://www.drupal.org/project/campaign_kit/issues/3001554#comment-13258753 still works.