From 671e0e679753d2c68653f98e92a76992ae9be8fe Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 4 Mar 2019 12:11:21 +0300 Subject: [PATCH] Flextype Slim Integration - next round of integration --- flextype/shortcodes/SnippetsShortcode.php | 1 - site/plugins/a/ATwigExtension.php | 24 ----------------------- site/plugins/a/a.php | 22 --------------------- site/plugins/a/a.yaml | 10 ---------- site/plugins/a/settings.yaml | 1 - site/plugins/site/site.yaml | 2 +- 6 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 site/plugins/a/ATwigExtension.php delete mode 100644 site/plugins/a/a.php delete mode 100755 site/plugins/a/a.yaml delete mode 100644 site/plugins/a/settings.yaml diff --git a/flextype/shortcodes/SnippetsShortcode.php b/flextype/shortcodes/SnippetsShortcode.php index f71dd002..c3d065e3 100644 --- a/flextype/shortcodes/SnippetsShortcode.php +++ b/flextype/shortcodes/SnippetsShortcode.php @@ -15,7 +15,6 @@ namespace Flextype; use Thunder\Shortcode\ShortcodeFacade; use Thunder\Shortcode\Shortcode\ShortcodeInterface; -// Snippets // Shortcode: [snippets fetch=snippet-name] $flextype['shortcodes']->addHandler('snippets', function(ShortcodeInterface $s) use ($flextype) { return $flextype['shortcodes']->fetch($s->getParameter('fetch')); diff --git a/site/plugins/a/ATwigExtension.php b/site/plugins/a/ATwigExtension.php deleted file mode 100644 index 9c0569cc..00000000 --- a/site/plugins/a/ATwigExtension.php +++ /dev/null @@ -1,24 +0,0 @@ -get('/test', function (Request $request, Response $response, array $args) { -// return 'test'; -//}); - -//Flextype::container()['view']->addExtension(new ATwigExtension()); - -//Flextype::flextype()->version(); diff --git a/site/plugins/a/a.yaml b/site/plugins/a/a.yaml deleted file mode 100755 index dc1ea820..00000000 --- a/site/plugins/a/a.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: Site -version: 0.0.0 -description: "Site plugin for Flextype" -author: - name: Sergey Romanenko - email: awilum@yandex.ru - url: http://flextype.org -homepage: https://github.com/flextype-plugins/admin -bugs: https://github.com/flextype-plugins/admin/issues -license: MIT diff --git a/site/plugins/a/settings.yaml b/site/plugins/a/settings.yaml deleted file mode 100644 index d4ca9418..00000000 --- a/site/plugins/a/settings.yaml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/site/plugins/site/site.yaml b/site/plugins/site/site.yaml index dc1ea820..5db6a2c7 100755 --- a/site/plugins/site/site.yaml +++ b/site/plugins/site/site.yaml @@ -1,5 +1,5 @@ name: Site -version: 0.0.0 +version: 1.0.0 description: "Site plugin for Flextype" author: name: Sergey Romanenko