<?php

/**
 * @file
 * @brief       The plugin themeEditor definition
 * @ingroup     themeEditor
 *
 * @defgroup    themeEditor Plugin themeEditor.
 *
 * themeEditor, Internal build tools for dotclear team.
 *
 * @package     Dotclear
 *
 * @copyright   Olivier Meunier & Association Dotclear
 * @copyright   AGPL-3.0
 */
if (isset($this) && is_object($this) && method_exists($this, 'registerModule') && isset($this->id) && is_string($this->id)) {
    $this->registerModule(
        'Theme Editor',    // Name
        'Theme Editor',    // Description
        'Olivier Meunier', // Author
        '2.0',             // Version
        [
            'type'     => 'plugin',
            'settings' => [
                'pref' => '#user-options.themeEditor_prefs',
            ],
        ]
    );
}
