PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | app/src/DataSources/ServiceProvider.php +10 -0 1.6.21.9.2 View file →
@@ -1,8 +1,9 @@
1 1 <?php
2 2 namespace Depicter\DataSources;
3 3
4 4 use Depicter\DataSources\Tags\ACF;
5 +use Depicter\DataSources\Tags\Catalog;
5 6 use Depicter\DataSources\Tags\Legacy;
6 7 use Depicter\DataSources\Tags\Post;
7 8 use Depicter\DataSources\Tags\MetaBoxIO;
8 9 use Depicter\DataSources\Tags\MetaFields;
@@ -40,8 +41,13 @@
40 41 $container[ 'depicter.dataSources.handPickedProducts' ] = function () {
41 42 return new HandPickedProducts();
42 43 };
43 44
45 + // register catalog dataSource
46 + $container[ 'depicter.dataSources.catalogs' ] = function () {
47 + return new Catalogs();
48 + };
49 +
44 50 // dynamic tag modules
45 51 $container[ 'depicter.dataSources.tags.manager' ] = function () {
46 52 return new \Depicter\DataSources\Tags\Manager();
47 53 };
@@ -71,8 +77,12 @@
71 77 };
72 78
73 79 $container[ 'depicter.dataSources.tags.metafield' ] = function () {
74 80 return new MetaFields();
81 + };
82 +
83 + $container[ 'depicter.dataSources.tags.catalog' ] = function () {
84 + return new Catalog();
75 85 };
76 86 }
77 87
78 88 /**