doc/dev/plugins/admin/twig/AdminTwigExtension.php

7 lines
355 B
PHP

<?php
// Deprecated.
require_once __DIR__ . '/../classes/plugin/Twig/AdminTwigExtension.php';
user_error("require_once('user/plugins/admin/twig/AdminTwigExtension.php') is deprecated. All admin classes are using composer autoloader.", E_USER_DEPRECATED);
class_alias('Grav\Plugin\Admin\Twig\AdminTwigExtension', 'Grav\Plugin\Admin\AdminTwigExtension');