Skip to content

Commit 0c009ab

Browse files
committed
CS
1 parent f08043a commit 0c009ab

44 files changed

Lines changed: 252 additions & 478 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

contao/config/config.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
declare(strict_types=1);
44

5+
use Codefog\TagsBundle\Model\TagModel;
6+
use Codefog\TagsBundle\Widget\TagsWidget;
7+
58
/*
69
* Tags Bundle for Contao Open Source CMS.
710
*
@@ -17,12 +20,12 @@
1720
/*
1821
* Backend widgets
1922
*/
20-
$GLOBALS['BE_FFL']['cfgTags'] = Codefog\TagsBundle\Widget\TagsWidget::class;
23+
$GLOBALS['BE_FFL']['cfgTags'] = TagsWidget::class;
2124

2225
/*
2326
* Models
2427
*/
25-
$GLOBALS['TL_MODELS']['tl_cfg_tag'] = \Codefog\TagsBundle\Model\TagModel::class;
28+
$GLOBALS['TL_MODELS']['tl_cfg_tag'] = TagModel::class;
2629

2730
/*
2831
* Hooks

contao/dca/tl_cfg_tag.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
declare(strict_types=1);
44

5+
use Codefog\TagsBundle\Driver;
6+
57
/*
68
* Tags Bundle for Contao Open Source CMS.
79
*
@@ -13,7 +15,7 @@
1315
$GLOBALS['TL_DCA']['tl_cfg_tag'] = [
1416
// Config
1517
'config' => [
16-
'dataContainer' => \Codefog\TagsBundle\Driver::class,
18+
'dataContainer' => Driver::class,
1719
'enableVersioning' => true,
1820
'notCopyable' => true,
1921
'onload_callback' => [

contao/languages/de/default.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,4 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['MSC']['cfg_tags.add'] = 'Hinzufügen';

contao/languages/de/modules.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,4 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['MOD']['cfg_tags'] = ['Schlagworte'];

contao/languages/de/tl_cfg_tag.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['tl_cfg_tag']['name'] = ['Name', 'Geben Sie hier einen Namen ein.'];
146
$GLOBALS['TL_LANG']['tl_cfg_tag']['alias'] = ['Alias', 'Der Alias ist eine eindeutige Referenz, die anstelle der numerischen ID aufgerufen werden kann.'];
157
$GLOBALS['TL_LANG']['tl_cfg_tag']['source'] = ['Quelle', 'Wählen Sie hier eine Quelle aus.'];

contao/languages/en/default.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,4 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['MSC']['cfg_tags.add'] = 'Add';

contao/languages/en/modules.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,4 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['MOD']['cfg_tags'] = ['Tags'];

contao/languages/en/tl_cfg_tag.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
$GLOBALS['TL_LANG']['tl_cfg_tag']['name'] = ['Name', 'Please enter the tag name.'];
146
$GLOBALS['TL_LANG']['tl_cfg_tag']['alias'] = ['Alias', 'The alias is a unique reference which can be called instead of its numeric ID.'];
157
$GLOBALS['TL_LANG']['tl_cfg_tag']['source'] = ['Source', 'Please choose the tag source.'];

src/CodefogTagsBundle.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
namespace Codefog\TagsBundle;
146

157
use Codefog\TagsBundle\DependencyInjection\Compiler\ManagerPass;
@@ -24,9 +16,6 @@ public function getPath(): string
2416
return \dirname(__DIR__);
2517
}
2618

27-
/**
28-
* {@inheritdoc}
29-
*/
3019
public function build(ContainerBuilder $container): void
3120
{
3221
$container->addCompilerPass(new ManagerPass('codefog_tags.manager_registry'));

src/ContaoManager/Plugin.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
declare(strict_types=1);
44

5-
/*
6-
* Tags Bundle for Contao Open Source CMS.
7-
*
8-
* @copyright Copyright (c) 2020, Codefog
9-
* @author Codefog <https://codefog.pl>
10-
* @license MIT
11-
*/
12-
135
namespace Codefog\TagsBundle\ContaoManager;
146

157
use Codefog\HasteBundle\CodefogHasteBundle;
@@ -21,9 +13,6 @@
2113

2214
class Plugin implements BundlePluginInterface
2315
{
24-
/**
25-
* {@inheritdoc}
26-
*/
2716
public function getBundles(ParserInterface $parser)
2817
{
2918
return [

0 commit comments

Comments
 (0)