PHP Class Neos\Flow\Core\Migrations\Version20141001000000

Inheritance: extends AbstractMigration
ファイルを表示 Open project: neos/neos-development-collection

Public Methods

Method Description
down ( ) : void Renames all occurrences of the CodeEditor to HtmlEditor
getIdentifier ( ) : string NOTE: This method is overridden for historical reasons. Previously code migrations were expected to consist of the string "Version" and a 12-character timestamp suffix. The suffix has been changed to a 14-character timestamp.
up ( ) : void Renames all occurrences of the HtmlEditor to CodeEditor

Method Details

down() public method

TYPO3.Neos/Inspector/Editors/CodeEditor -> TYPO3.Neos/Inspector/Editors/HtmlEditor .neos-secondary-inspector-code-editor -> .neos-secondary-inspector-html-editor
public down ( ) : void
return void

getIdentifier() public method

For new migrations the classname pattern should be "Version" (14-character timestamp) and this method should *not* be implemented
public getIdentifier ( ) : string
return string

up() public method

TYPO3.Neos/Inspector/Editors/HtmlEditor -> TYPO3.Neos/Inspector/Editors/CodeEditor
public up ( ) : void
return void