Skip to content

jurgenhaas/drush-rename-text-formats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Rename text-formats with Drush

Have you ever found yourself in a situation where your text formats (e.g. "full_html" or "plain_text") ended up with wrong names or even numbers? This happened to me more than once, mainly for Drupal sites that got upgraded from Drupal 6 to 7.

The script here renames all the formats in all relevant tables.

Usage

drush scr rename-text-formats.php 'old1=>new1' 'old2=>new2' ... 'oldn=>newn'

CAUTION

Please backup your Drupal database before you're going to use this script!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages