* * This file was created by splitting up an original file into multiple files, * which in turn was previously part of the project's main repository. The * version control history of these files apply accordingly, available from * the following original locations: * * * * * SPDX-License-Identifier: MIT * License-Filename: LICENSE */ /** * Maintains backward compatibility with themes using API version 0, written * for Pico 0.9 and earlier * * Since there were no theme-related changes between Pico 0.9 and Pico 1.0, * this compat plugin doesn't hold any code itself, it just depends on * {@see PicoThemeApi1CompatPlugin}. Since themes didn't support API versioning * until Pico 2.1 (i.e. API version 3), all older themes will appear to use API * version 0. * * @author Daniel Rudolf * @link http://picocms.org * @license http://opensource.org/licenses/MIT The MIT License * @version 2.1 */ class PicoThemeApi0CompatPlugin extends AbstractPicoCompatPlugin { /** * This plugin extends {@see PicoThemeApi1CompatPlugin} * * @var string[] */ protected $dependsOn = array('PicoThemeApi1CompatPlugin'); /** * {@inheritDoc} */ public function getApiVersion() { return PicoDeprecated::API_VERSION_3; } }